From 34d49c20c2c2543658e844847c5eaa87f4c954e9 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 23 二月 2021 17:28:40 +0800 Subject: [PATCH] Merge branch 'temp-wxr' into NewFilePath --- HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 22 ++++++++++++++++------ 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs index 13fb0f2..ef60cd5 100644 --- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs @@ -494,6 +494,7 @@ //functionOnCount = FunctionList.List.aCs.FindAll((obj) => obj.trait_on_off.curValue.ToString() == "on").Count; break; case ShowFunction.VideoIntercom: + functionCount = 1; break; } @@ -550,7 +551,8 @@ }; functionView.AddChidren(btnName); - if (item != ShowFunction.Environmental && item != ShowFunction.Sensor && functionCount != 0) + if (item != ShowFunction.Environmental && item != ShowFunction.Sensor && item != ShowFunction.VideoIntercom + && functionCount != 0) { Button btnFunctionCount = new Button() { @@ -766,15 +768,23 @@ break; case ShowFunction.Sensor: btnName.TextID = StringId.Sensor; - + functionPageTitleId = StringId.Sensor; break; case ShowFunction.VideoIntercom: btnName.TextID = StringId.VideoIntercom; + btnFunctionViewBg.MouseUpEventHandler = (sender, e) => + { +#if __IOS__ + EZSDK.IOS.EZSDK.Go2EZvizMonitor(); +#else //瀹夊崜鎽勫儚澶� + +#endif + }; break; } //鐣岄潰璺宠浆--闊充箰璺宠浆鑷繁鐨勭晫闈�--鐜璺宠浆鑷繁鐨勭晫闈� - if (item != ShowFunction.Music && item != ShowFunction.Environmental) + if (item != ShowFunction.Music && item != ShowFunction.Environmental && item != ShowFunction.VideoIntercom) { btnFunctionViewBg.MouseUpEventHandler = (sender, e) => { @@ -793,10 +803,10 @@ s1View.Height = s2View.Height = functionContentView.Height = functionContentViewHeight+ Application.GetRealWidth(40); } - #endregion +#endregion } - #region 鍒囨崲妤煎眰 +#region 鍒囨崲妤煎眰 /// <summary> /// 妤煎眰鏄剧ず鍒囨崲 /// </summary> @@ -953,6 +963,6 @@ { } - #endregion +#endregion } } \ No newline at end of file -- Gitblit v1.8.0