| | |
| | | |
| | | } |
| | | |
| | | public string LogoPath { get; private set; } |
| | | public string WindowTitle { get; private set; } |
| | | public string LogoPath { get; private set; } = ".\\JingCeLogo.png"; |
| | | public string WindowTitle { get; private set; } = "产品测试平台"; |
| | | public string PlcIp { get; private set; } |
| | | public bool PlcEnabled { get; private set; } |
| | | public string CurrentLanguage { get; private set; } |
| | | public string CurrentLanguage { get; private set; } = "zh-CN"; |
| | | |
| | | private static void LoadFromXml() |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | public static SystemSettingModel GetModel() |
| | | { |
| | | return XmlHelper.DeserializeFromXml<SystemSettingModel>(FilePath); |
| | | } |
| | | |
| | | public static void ReLoad() |
| | | { |
| | | if (!File.Exists(FilePath)) |