From 1cd93851bde6ec19c07f1445899a76ab0dfa507d Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期四, 13 四月 2023 16:01:53 +0800 Subject: [PATCH] 1.增加推送判断是否加载了类的方法 2.修改launch screen引用 3.去掉门锁测试环境appkey逻辑 --- HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs index efa787c..7bc7270 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs @@ -3,6 +3,7 @@ using HDL_ON.DAL.Server; using HDL_ON.Entity; using HDL_ON.UI.CSS; +using HDL_ON.UI.UI2.FuntionControlView.VideoDoorLock; #if __Android__ using Java.Interop; using Android.Content; @@ -115,10 +116,10 @@ bool isFrist = true; foreach (var device in deviceList) { - if (!this.CheckSupportDevice(device)) - { - continue; - } + //if (!this.CheckSupportDevice(device)) + //{ + // continue; + //} var row = new RowLayout() { Height = Application.GetRealHeight(50), @@ -205,6 +206,21 @@ contentView.BeginHeaderRefreshing(); }; break; + case SPK.VideoDoorLock: + { + CommonMethod.Current.MainThread(() => + { + //钀ょ煶瑙嗛闂ㄩ攣 + var form = new VideoDoorLockPage(device, btnName, new Button(), CommonMethod.Comerom.sanfan, () => + { + row.RemoveFromParent(); + }); + MainPage.BasePageView.AddChidren(form); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + form.Show(); + }); + } + break; } }; -- Gitblit v1.8.0