From 276757e23a57126d0af9ff734c493961eedeb622 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 30 十二月 2020 17:34:02 +0800
Subject: [PATCH] 2020-12-30-2

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs
old mode 100644
new mode 100755
index ca6996e..2656bab
--- 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;
@@ -549,7 +549,7 @@
                     }
                     break;
                 case DeviceType.DoorLock:
-                    {
+                    {
 
                         flMain.RemoveFromParent();
                         var memberList = new MemberList();
@@ -679,8 +679,8 @@
                                     break;
                             }
                             //鏌ユ壘绱㈠紩
-                            index1 = mList1.IndexOf(s);
-                            //杞崲娓╁害鍊�/100
+                            index1 = mList1.IndexOf(s);
+                            //杞崲娓╁害鍊�/100
                             var dd = (int.Parse(devices["AttriButeData1"])/100).ToString();
                             index2 = mList2.IndexOf(dd);
 
@@ -1300,7 +1300,7 @@
                 {
                     if (!edit)
                     {
-                        var alert = new UserCenter.ShowMsgControl(UserCenter.ShowMsgType.Normal,
+                        var alert = new UserCenter.ShowMsgControl(ShowMsgType.Normal,
                                     Language.StringByID(MyInternationalizationString.selectdevicestatuscondition),
                                    Language.StringByID(MyInternationalizationString.confrim));
                         alert.Show();

--
Gitblit v1.8.0