From 0f61f7a60bf532e91d08aa2e0716e986bf571413 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 02 九月 2020 17:03:54 +0800
Subject: [PATCH] 2020-09-01-2

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs
index ca6996e..12e3973 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs
@@ -490,13 +490,13 @@
                         {
                             if (devices["AttriButeId"] == "1281")
                             {
-                                if (devices.ContainsKey("IgnoreTime"))
+                                if (devices.ContainsKey("IgnoreTime")&& devices["IgnoreTime"]!="0")
                                 {
                                     timeValue = int.Parse(devices["IgnoreTime"]);
                                 }
                                 else
                                 {
-                                    if (devices["AttriButeData1"] == "1")
+                                    if (devices["Range"]== "5")
                                     {
                                         openView.titleBtn.TextColor = ZigbeeColor.Current.LogicBtnSelectedColor;
                                         closeView.titleBtn.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor;

--
Gitblit v1.8.0