From 559890c482f5973f06aafdfec9550fee5ba3c7f2 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 17:02:15 +0800
Subject: [PATCH] feat: CAN 模拟器 TCP 化 + 多设备并发调试 + 后台生命周期管理

---
 HMI.Core/Setting/SystemSetting.cs |   28 ++++++++++++++++++++++++++--
 1 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/HMI.Core/Setting/SystemSetting.cs b/HMI.Core/Setting/SystemSetting.cs
index da6a63b..e07e053 100644
--- a/HMI.Core/Setting/SystemSetting.cs
+++ b/HMI.Core/Setting/SystemSetting.cs
@@ -25,11 +25,14 @@
 
         }
 
-        public string LogoPath { get; private set; } = ".\\JingCeLogo.png";
+        public string LogoPath { get; private set; } = ".\\Logo.png";
+        public string LoginLogoPath { get; private set; } = ".\\LoginLogo.png";
         public string WindowTitle { get; private set; } = "浜у搧娴嬭瘯骞冲彴";
-        public string PlcIp { get; private set; }
+        public string PlcIp { get; private set; } = "127.0.0.1";
+        public int PlcPort { get; private set; } = 102;
         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()
         {
@@ -79,6 +82,13 @@
             set { Set(ref logoPath, value); }
         }
 
+        private string loginLogoPath;
+        public string LoginLogoPath
+        {
+            get => loginLogoPath;
+            set { Set(ref loginLogoPath, value); }
+        }
+
         private string windowTitle;
         public string WindowTitle
         {
@@ -93,6 +103,13 @@
             set { Set(ref plcIp, value); }
         }
 
+        private int plcPort;
+        public int PlcPort
+        {
+            get => plcPort;
+            set { Set(ref plcPort, value); }
+        }
+
         private bool plcEnabled;
         public bool PlcEnabled
         {
@@ -106,5 +123,12 @@
             get => currentLanguage;
             set { Set(ref currentLanguage, value); }
         }
+
+        private int logExpiredDays;
+        public int LogExpiredDays
+        {
+            get => logExpiredDays;
+            set { Set(ref logExpiredDays, value); }
+        }
     }
 }

--
Gitblit v1.9.1