From 6b6a3fd9c292a75196c4cc15c6d9bf52537efbd4 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期二, 07 九月 2021 10:12:20 +0800 Subject: [PATCH] 1.窗帘问题。2.智能空开。3.组合调光部分。 --- 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