From 03d8399009aacc15efde15f08e37893e47dc2427 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 07 十二月 2022 10:45:20 +0800 Subject: [PATCH] 大华摄像头,金茂科技系统 --- HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs index dd2b028..8b7011b 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs @@ -104,7 +104,7 @@ } this.function = FunctionList.List.GetAcstParentList()[0]; this.BackgroundColor = CSS.CSS_Color.BackgroundColor; - this.AddChidren(new Button() { Height = Application.GetRealHeight(50), BackgroundColor = curColor }); + //this.AddChidren(new Button() { Height = Application.GetRealHeight(50), BackgroundColor = curColor }); contentView = new VerticalScrolViewLayout() { Height = Application.GetRealHeight(667 - 56), }; @@ -226,7 +226,8 @@ } Application.RunOnMainThread(() => { - var view = basePage.subViewList[temp.sid]; + AcstSubControlView view = null; + basePage.subViewList.TryGetValue(temp.sid,out view); if (view != null) { view.btnSubHumidityValues.Text = temp.GetAttrState(AcstSub_AttrEnum.room_humidity.ToString()) + "%"; @@ -617,6 +618,10 @@ { try { +#if DEBUG + System.Threading.Thread.Sleep(200); +#endif + foreach (var sub in FunctionList.List.GetAcstSubList()) { if (subViewList.ContainsKey(sub.sid)) -- Gitblit v1.8.0