From 59ab4de7a58a8da55f2136440269c60a1172e16d Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期三, 20 十一月 2019 17:29:06 +0800
Subject: [PATCH] 2019-11-20-1

---
 ZigbeeApp/Shared/Phone/Device/Logic/TemplateDeviceCondition.cs |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/TemplateDeviceCondition.cs b/ZigbeeApp/Shared/Phone/Device/Logic/TemplateDeviceCondition.cs
index 4a2935f..5ca63f0 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/TemplateDeviceCondition.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/TemplateDeviceCondition.cs
@@ -925,7 +925,7 @@
                             dictionary(deviceConditionsInfo, "AttriButeData1", "0");
                             if (iASZonedevice.IasDeviceType == 13)
                             {
-                                SelectedDeviceStatuscondition = "no";
+                                SelectedDeviceStatuscondition = "";
                                 btnopen.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor;
                                 btnclose.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor;
                                 openBtnSelected.Visible = false;
@@ -1007,7 +1007,7 @@
                                     timeoutrowlayout.AddChidren(timeoutBtnSelected);
                                     EventHandler<MouseEventArgs> timeoutclick = (sender, e) =>
                                     {
-                                        SelectedDeviceStatuscondition = "no";
+                                        SelectedDeviceStatuscondition = "";
                                         btnopen.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor;
                                         btnclose.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor;
                                         openBtnSelected.Visible = false;
@@ -1026,7 +1026,6 @@
                                     #endregion
                                 }
                                 break;
-
                             case 40:
                                 {
                                     devicefra.Y = Application.GetRealHeight(1920 - 140 - 160 - 20 - 50);
@@ -1066,7 +1065,6 @@
                                     openrowlayout.LineColor = ZigbeeColor.Current.LogicBackgroundColor;
                                 }
                                 break;
-
                             case 277:
                                 {
                                     devicefra.Y = Application.GetRealHeight(1920 - 140 - 160 - 20 - 50);

--
Gitblit v1.8.0