From 6d3ba9484472d090532434e53667c096652149ce Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 25 九月 2020 09:56:14 +0800 Subject: [PATCH] 202009251 --- HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs b/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs index 1c95087..ce0bb47 100644 --- a/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs +++ b/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs @@ -197,7 +197,7 @@ btnStop.IsSelected = false; btnOpen.IsSelected = false; curtain.trait_on_off.value = "off"; - //Control.Send(CommandType_A.write, curtain); + curtain.percent = 0; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", curtain.trait_on_off.value.ToString()); Control.SendWriteCommand(curtain, d); @@ -215,7 +215,7 @@ btnClose.IsSelected = false; btnStop.IsSelected = false; curtain.trait_on_off.value = "stop"; - //Control.Send(CommandType_A.write, curtain); + //curtain.percent = 0; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", curtain.trait_on_off.value.ToString()); Control.SendWriteCommand(curtain, d); @@ -227,7 +227,7 @@ btnClose.IsSelected = false; btnStop.IsSelected = false; curtain.trait_on_off.value = "on"; - //Control.Send(CommandType_A.write, curtain); + curtain.percent = 100; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", curtain.trait_on_off.value.ToString()); Control.SendWriteCommand(curtain, d); -- Gitblit v1.8.0