From 51cb254cbd616e84b7a466b195eb43ab097c3897 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 29 九月 2020 13:16:45 +0800
Subject: [PATCH] 20200928
---
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