alielie
2025-04-10 6bcafc823e836ecd5790f87178a906333699f868
HMI.Core/Setting/SystemSetting.cs
@@ -30,6 +30,7 @@
        public string PlcIp { get; private set; }
        public bool PlcEnabled { get; private set; }
        public string CurrentLanguage { get; private set; } = "zh-CN";
        public int LogExpiredDays { get; private set; } = 7;
        private static void LoadFromXml()
        {
@@ -106,5 +107,12 @@
            get => currentLanguage;
            set { Set(ref currentLanguage, value); }
        }
        private int logExpiredDays;
        public int LogExpiredDays
        {
            get => logExpiredDays;
            set { Set(ref logExpiredDays, value); }
        }
    }
}