From 813aee559e544e6bf7777404612a4712cad184c8 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 01 四月 2021 16:31:38 +0800 Subject: [PATCH] 2021-04-01 1.更新丰林iOS最新SDK --- HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs index 5696551..38d8966 100644 --- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs @@ -495,12 +495,16 @@ case ShowFunction.Panel: break; case ShowFunction.SecurityMonitoring: - functionCount = 1; + //functionCount = 1; break; case ShowFunction.Sensor: functionCount = FunctionList.List.GetArmSensorList().Count; break; case ShowFunction.VideoIntercom: + if (FunctionList.List.videoIntercom != null) + { + functionCount = 1; + } break; } @@ -801,12 +805,23 @@ break; case ShowFunction.VideoIntercom: btnName.TextID = StringId.VideoIntercom; + + btnFunctionViewBg.MouseUpEventHandler = (sender, e) => + { + var videoMethod = new UI2.FuntionControlView.Video.VideoMethod(); + videoMethod.MianView(this, FunctionList.List.videoIntercom); + + //var mainView = new HDL_ON.UI.UI2.FuntionControlView.Video.MainView(); + //MainPage.BasePageView.AddChidren(mainView); + //mainView.Show(); + //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + }; break; } //鐣岄潰璺宠浆--闊充箰璺宠浆鑷繁鐨勭晫闈�--鐜璺宠浆鑷繁鐨勭晫闈� if (item != ShowFunction.Music && item != ShowFunction.Environmental && item != ShowFunction.SecurityMonitoring - && ShowFunction.EnergyMonitoring!= item) + && ShowFunction.EnergyMonitoring!= item && ShowFunction.VideoIntercom != item) { btnFunctionViewBg.MouseUpEventHandler = (sender, e) => { -- Gitblit v1.8.0