From 8301df084faa8f43f4b9cb7f92088e5fd9e64524 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 十二月 2022 15:41:53 +0800 Subject: [PATCH] 大华摄像头更新 --- HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs | 5 +++-- 1 files changed, 3 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..1e6e44d 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()) + "%"; -- Gitblit v1.8.0