From d4160d80c79245c1d7d0cd450ba48cb7850e411d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 23 十一月 2020 10:45:54 +0800
Subject: [PATCH] 20201123

---
 HDL_ON/DAL/DriverLayer/Control.cs |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs
index 82d3a9a..743e402 100644
--- a/HDL_ON/DAL/DriverLayer/Control.cs
+++ b/HDL_ON/DAL/DriverLayer/Control.cs
@@ -37,13 +37,13 @@
             }
         }
         /// <summary>
-        /// 閫氳鍦板潃IP
-        /// </summary>
-        public string reportIp = "255.255.255.255";
-        /// <summary>
         /// 缃戝叧鏄惁鍦ㄧ嚎
         /// </summary>
         public bool gatewayOnline = false;
+        /// <summary>
+        /// 閫氳鍦板潃IP
+        /// </summary>
+        public string reportIp = "255.255.255.255";
         /// <summary>
         /// tcp鏈嶅姟绔�
         /// </summary>
@@ -76,11 +76,13 @@
         /// </summary>
         public void ChangeCommunicationMode(CommunicationMode communicationMode)
         {
-            if(this.communicationMode == communicationMode)
+            if (this.communicationMode == communicationMode)
             {
                 return;
             }
+
             this.communicationMode = communicationMode;
+
 
             switch (this.communicationMode)
             {
@@ -110,6 +112,7 @@
                     break;
             }
         }
+
         /// <summary>
         /// 鎼滅储鏈湴缃戝叧鍒楄〃
         /// </summary>

--
Gitblit v1.8.0