From 41995c4cd30ca1c5a814ea0af6f70d3b86368137 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 20 八月 2021 09:07:07 +0800
Subject: [PATCH] 2021-08-20 09:06:44

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

diff --git a/HDL_ON/DAL/DriverLayer/Control_Udp.cs b/HDL_ON/DAL/DriverLayer/Control_Udp.cs
index 160eee7..37ee1e3 100644
--- a/HDL_ON/DAL/DriverLayer/Control_Udp.cs
+++ b/HDL_ON/DAL/DriverLayer/Control_Udp.cs
@@ -50,7 +50,7 @@
         /// <summary>
         /// 鍙戦�佹暟鎹紝涓嶉渶瑕佺瓑寰呭洖澶�
         /// </summary>
-        public void ControlBytesSend(Command command, byte subnetID, byte deviceID, byte[] gatewayBytes, int sendCount = 3)
+        public void ControlBytesSend(Command command, byte subnetID, byte deviceID, byte[] gatewayBytes, int sendCount = 3,bool reSend = false)
         {
 #if DEBUG
             string ddd = "";
@@ -69,7 +69,8 @@
                 SubnetID = subnetID,
                 DeviceID = deviceID,
                 AddData = gatewayBytes,
-            }, sendCount, false);
+            }, 3, true);
+            //}, sendCount, reSend);
         }
 
         /// <summary>
@@ -423,7 +424,7 @@
         /// </summary>
         /// <param name="commandString"></param>
         /// <returns></returns>
-        public void WriteBusData(Function function, Dictionary<string, string> commandDictionary)
+        public void WriteBusData(Function function, Dictionary<string, string> commandDictionary,bool reSend = false)
         {
             try
             {

--
Gitblit v1.8.0