alielie
2025-03-18 a061384ba628a09bf4df91f50321ab22c03129aa
HMI.Core/Setting/SystemSetting.cs
@@ -25,11 +25,11 @@
        }
        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()
        {
@@ -47,6 +47,11 @@
            }
        }
        public static SystemSettingModel GetModel()
        {
            return XmlHelper.DeserializeFromXml<SystemSettingModel>(FilePath);
        }
        public static void ReLoad()
        {
            if (!File.Exists(FilePath))