From 5781fe4b0b3747aabb90946fd138825e51fd5c86 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期五, 01 十一月 2019 17:18:11 +0800 Subject: [PATCH] 2019-11-01-3 --- ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs b/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs old mode 100755 new mode 100644 index 54dd41d..e2b9d19 --- a/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs @@ -31,7 +31,7 @@ TextColor = ZigbeeColor.Current.LogicTextBlackColor, TextAlignment = TextAlignment.CenterLeft, X = Application.GetRealWidth(176), - Width = Application.GetRealWidth(400), + Width = Application.GetRealWidth(600), Height = Application.GetRealHeight(69), Y = Application.GetRealHeight(92), TextID = MyInternationalizationString.selection, @@ -80,7 +80,7 @@ BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor, }; middle.AddChidren(timeframelayout); - + var timeiconBtn = new Button { @@ -183,11 +183,6 @@ EventHandler<MouseEventArgs> devicestateclick = (sender, e) => { - Common.Logic.LogicDviceList.Clear(); - if (Common.Logic.LogicDviceList.Count == 0) - { - Common.Logic.LogicDviceList.AddRange(LocalDevice.Current.listAllDevice.ToArray()); - } var deviceStateCondition = new DeviceStateCondition(); UserView.HomePage.Instance.AddChidren(deviceStateCondition); UserView.HomePage.Instance.PageIndex += 1; -- Gitblit v1.8.0