From 2e74672eff6b971bd15b4783d43cc5c1c680d3ee Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 14 九月 2023 11:21:50 +0800
Subject: [PATCH] 删除离线状态

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

diff --git a/OnPro/HDL_ON/DAL/DriverLayer/Control.cs b/OnPro/HDL_ON/DAL/DriverLayer/Control.cs
index e3d4c7e..cde3133 100644
--- a/OnPro/HDL_ON/DAL/DriverLayer/Control.cs
+++ b/OnPro/HDL_ON/DAL/DriverLayer/Control.cs
@@ -261,6 +261,7 @@
         /// </summary>
         public void OpenTcpClent()
         {
+            return;
             if (myTcpClient == null)
             {
                 myTcpClient = new Control_TcpClient(reportIp);
@@ -451,7 +452,7 @@
                         var sendBytes = Ins.ConvertSendBodyData(CommunicationTopic.ct.ControlFunctionTopic, functionControlDataJson);
                         new Control_Udp().SendLocalHdlLinkData(sendBytes, functionControlDataObj.id, resend);
                         MainPage.Log($"鏈湴閫氳 鍙戦�丠DL-Link鏁版嵁:{functionControlDataJson}");
-                            Ins.myTcpClient.SendMessage(sendBytes);
+                            //Ins.myTcpClient.SendMessage(sendBytes);
                 }
                 //杩滅▼閫氳
                 else
@@ -834,9 +835,9 @@
 
                 if (receiveObj.Topic == CommunicationTopic.ct.HeartBeat + "_reply")
                 {
-                    Ins.myTcpClient.ClearHeartBeatLog();
-                    MainPage.Log("tcp蹇冭烦鍥炲");
-                    return null;
+                    //Ins.myTcpClient.ClearHeartBeatLog();
+                    //MainPage.Log("tcp蹇冭烦鍥炲");
+                    //return null;
                 }
 
                 //2021-09-23 杩囨护涓嶉渶瑕佽В瀵嗙殑涓婚 鐩墠鎼滅储缃戝叧涓婚涓嶅姞瀵�

--
Gitblit v1.8.0