From 4c3eb7f334abb8129b57e86f2935d75d0b3070b4 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 03 三月 2025 18:55:31 +0800
Subject: [PATCH] 完善UI;新增TestResult;

---
 HMI.Core/Setting/SystemSetting.cs |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/HMI.Core/Setting/SystemSetting.cs b/HMI.Core/Setting/SystemSetting.cs
index 774d75b..b2fe7be 100644
--- a/HMI.Core/Setting/SystemSetting.cs
+++ b/HMI.Core/Setting/SystemSetting.cs
@@ -8,6 +8,9 @@
     public class SystemSetting
     {
         public static SystemSetting Instance { get; private set; }
+        /// <summary>
+        /// 绯荤粺璁剧疆鏀瑰彉浜嬩欢
+        /// </summary>
         public static event EventHandler<SystemSetting> SystemSettingChanged;
 
         static SystemSetting()
@@ -22,6 +25,8 @@
 
         public string LogoPath { get; private set; }
         public string WindowTitle { get; private set; }
+        public string PlcIp { get; private set; }
+        public bool PlcEnabled { get; private set; }
 
         private static void LoadFromXml()
         {
@@ -74,5 +79,19 @@
             get => windowTitle;
             set { Set(ref windowTitle, value); }
         }
+
+        private string plcIp;
+        public string PlcIp
+        {
+            get => plcIp;
+            set { Set(ref plcIp, value); }
+        }
+
+        private bool plcEnabled;
+        public bool PlcEnabled
+        {
+            get => plcEnabled;
+            set { Set(ref plcEnabled, value); }
+        }
     }
 }

--
Gitblit v1.9.1