From 1b5ec1190a27ebe66f74ca9513020f805d3ec61c Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 22 十二月 2020 13:54:19 +0800
Subject: [PATCH] 2021221-2

---
 HDL_ON/DAL/DriverLayer/Control.cs |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs
index 8e434c9..d6da0f6 100644
--- a/HDL_ON/DAL/DriverLayer/Control.cs
+++ b/HDL_ON/DAL/DriverLayer/Control.cs
@@ -225,8 +225,6 @@
                         //鏈湴鎼滅储涓嶅埌缃戝叧
                         if (!Ins.IsRemote)
                         {
-                            //杩炴帴mqtt鍓嶏紝鍏堟柇寮�--2020-12-21
-                            DAL.Mqtt.MqttClient.DisConnectRemote();
                             Ins.IsRemote = true;
                             DAL.Mqtt.MqttClient.InitState();
                         }
@@ -264,7 +262,7 @@
         /// <returns></returns>
         public void SendWriteCommand(Function function, Dictionary<string, string> commandDictionary)
         {
-            function.usageCount++;
+            function.controlCounter++;
             function.refreshTime = DateTime.Now;
 
             //濡傛灉鏄帶鍒惰皟鍏夌殑寮�鏃讹紝浜害鍊间笉鑳戒负0

--
Gitblit v1.8.0