From 81307af66465a6b5ba189b0fb9b347787f004a4e Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 30 十二月 2020 16:14:15 +0800 Subject: [PATCH] 2020-12-30-1 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicDveiceStatus.cs | 20 +++++++++----------- 1 files changed, 9 insertions(+), 11 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicDveiceStatus.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicDveiceStatus.cs index aa065e0..6cbfce2 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicDveiceStatus.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicDveiceStatus.cs @@ -179,7 +179,7 @@ { case 13: { - if (conditions["Cluster_ID"] == "1024") + if (conditions["Cluster_ID"] == "1024") { state = Language.StringByID(MyInternationalizationString.ambientLight) + "<" + conditions["AttriButeData1"] + "lux" + Language.StringByID(MyInternationalizationString.hour1); } @@ -377,8 +377,8 @@ s = "鈮�"; } break; - } - ///杞崲娓╁害鍊�/100 + } + ///杞崲娓╁害鍊�/100 string srtValue = (int.Parse(conditions["AttriButeData1"]) / 100).ToString(); if (conditions["Cluster_ID"] == "1026") { @@ -515,16 +515,14 @@ break; case 6: { - var flMain = new FrameLayout { BackgroundColor = ZigbeeColor.Current.LogicViewBackgroundColor }; - frameLayout.AddChidren(flMain); - AddLogicPage.SecurityView(flMain, true); + + AddLogicPage.SecurityView(frameLayout, true); } break; case 7: { - var flMain = new FrameLayout { BackgroundColor = ZigbeeColor.Current.LogicViewBackgroundColor }; - frameLayout.AddChidren(flMain); - AddLogicPage.LocationView(flMain, true); + + AddLogicPage.LocationView(frameLayout, true); } break; } @@ -533,7 +531,7 @@ selecteddevice.del.MouseUpEventHandler += (sender, e) => { - var alert = new UserCenter.ShowMsgControl(UserCenter.ShowMsgType.Confirm, + var alert = new UserCenter.ShowMsgControl(ShowMsgType.Confirm, Language.StringByID(MyInternationalizationString.doyouwanttodelete), Language.StringByID(MyInternationalizationString.confrim)); alert.Show(); @@ -1094,7 +1092,7 @@ actiondevice.del.MouseUpEventHandler += (sender, e) => { - var alert = new UserCenter.ShowMsgControl(UserCenter.ShowMsgType.Confirm, + var alert = new UserCenter.ShowMsgControl(ShowMsgType.Confirm, Language.StringByID(MyInternationalizationString.doyouwanttodelete), Language.StringByID(MyInternationalizationString.confrim)); alert.Show(); -- Gitblit v1.8.0