From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +0800 Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节 --- ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs b/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs index 5e7bdea..adbd012 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs @@ -7,6 +7,7 @@ using ZigBee.Device; using Shared.Phone.Device.Logic.LogicView; + namespace Shared.Phone.Device.Logic { @@ -18,16 +19,17 @@ } public void Show() { + #region 鐣岄潰鐨勫竷灞�浠g爜 TopView view = new TopView(); this.AddChidren(view.TopRowView()); view.toptitleNameBtn.TextID = MyInternationalizationString.selection; - view.clickBtn.MouseDownEventHandler += (sender, e) => { RemoveFromParent(); }; + view.clickBtn.MouseDownEventHandler += (sender, e) => { RemoveFromParent(); }; var middle = new FrameLayout { Y = view.topRowLayout.Bottom, - Height = Application.GetRealHeight(1920 - 184), + Height = Application.GetRealHeight(Method.H - 184), BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, }; this.AddChidren(middle); @@ -72,6 +74,7 @@ UserView.HomePage.Instance.PageIndex += 1; roomAndDeviceView.IfType = LogicView.IfString.Condition_Logic; roomAndDeviceView.Show(Language.StringByID(MyInternationalizationString.devicestate)); + }; securityView.clickviewBtn.MouseUpEventHandler += (sender, e) => { @@ -475,8 +478,10 @@ accounts.Add("Latitude", latitudW.ToString()); accounts.Add("Longitude", longitudeH.ToString()); accounts.Add("Radius", mRadius.ToString()); + LogicIfon.Addaccounts(accounts); LogicIfon.AddLocationconditions(LocationConditionsInfo); + var logicCommunalPage = new LogicCommunalPage(); UserView.HomePage.Instance.AddChidren(logicCommunalPage); UserView.HomePage.Instance.PageIndex += 1; @@ -490,6 +495,7 @@ /// </summary> void TimeView() { + UserView.HomePage.Instance.ScrollEnabled = false; Dictionary<string, string> SecurityConditionsInfo = new Dictionary<string, string>(); #region ------鐣岄潰甯冨眬閮ㄥ垎 @@ -571,6 +577,7 @@ }; } + } } -- Gitblit v1.8.0