From 1ebda09d954de4409c5a7f3ba3c3ee75626ec7c0 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 01 四月 2021 16:08:16 +0800 Subject: [PATCH] 2021-4-1-6 --- HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs index 6e2e2c9..c0aff4b 100644 --- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs @@ -501,6 +501,10 @@ functionCount = FunctionList.List.GetArmSensorList().Count; break; case ShowFunction.VideoIntercom: + if (FunctionList.List.videoIntercom != null) + { + functionCount = 1; + } break; } @@ -623,7 +627,7 @@ LoadEvent_SwitchFunction(btnLightPower, item, functionView); }; functionPageTitleId = StringId.Lights; - + #endregion break; case ShowFunction.AC: @@ -801,12 +805,17 @@ 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); + }; 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