From 652243206427f35a256400a149a1734085824cb9 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 02 九月 2020 17:35:03 +0800 Subject: [PATCH] 2020-09-02-4 --- 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