From 22477f0eca904ec628ab59cd749f959af35c1439 Mon Sep 17 00:00:00 2001
From: Moli <linmolilin@gmail.com>
Date: 星期五, 15 四月 2022 10:15:52 +0800
Subject: [PATCH] 加入按配置使用的功能

---
 PublicCode/SystemManage/SysConfig.cs |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/PublicCode/SystemManage/SysConfig.cs b/PublicCode/SystemManage/SysConfig.cs
index c5c4f38..9b1a97d 100644
--- a/PublicCode/SystemManage/SysConfig.cs
+++ b/PublicCode/SystemManage/SysConfig.cs
@@ -115,6 +115,18 @@
         /// </summary>
         public string toIp { get; set; }
         /// <summary>
+        /// 鏈満缃戠粶ip
+        /// </summary>
+        public string receiveIp { get; set; }
+        /// <summary>
+        /// 鏈満鎺ユ敹绔彛
+        /// </summary>
+        public string receivePort { get; set; }
+        /// <summary>
+        /// 杩愯鐨勫姛鑳斤紝1鐩戝惉锛�2鍙戦�侊紝3鐩戝惉+鍙戦��
+        /// </summary>
+        public string startProject { get; set; }
+        /// <summary>
         /// 杞崲鍚庣殑mac鍦板潃
         /// </summary>
         public int[] mac
@@ -126,7 +138,8 @@
                 int index = 0;
                 foreach (var a in strs)
                 {
-                    macArr[index++] = Convert.ToInt32("0x" + a);
+
+                    macArr[index++] = Convert.ToInt32(a.ToString(), 16);
                 }
                 return macArr;
             }

--
Gitblit v1.9.1