From f16fd06aa226e9f97a27858624d4ea7cf8975d25 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 07 五月 2024 17:24:38 +0800
Subject: [PATCH] 增加了萤石摄像头

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index 53b7536..09ed33d 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -748,6 +748,12 @@
                         break;
                     case ShowFunction.Panel:
                         break;
+                    case ShowFunction.SecurityMonitoring:
+                        if (!MainPage.NoLoginMode)
+                        {
+                            functionCount = 1;
+                        }
+                        break;
                     case ShowFunction.Sensor:
                         functionCount = FunctionList.List.GetArmSensorList().Count;
                         break;
@@ -826,6 +832,7 @@
                     && item != ShowFunction.Environmental
                     && item != ShowFunction.Sensor
                     && item != ShowFunction.VideoIntercom
+                    && item != ShowFunction.SecurityMonitoring
                     && item != ShowFunction.FreshAir
                     && item != ShowFunction.Music
                     && item != ShowFunction.EnergyMonitoring
@@ -1116,6 +1123,12 @@
                     case ShowFunction.Panel:
                         btnName.TextID = StringId.Panel;
                         break;
+                    case ShowFunction.SecurityMonitoring:
+                        btnName.TextID = StringId.EZVIZ;
+                        btnFunctionViewBg.MouseUpEventHandler = (sender, e) => {
+                            HDLCommon.Current.Go2EZvizMonitor(bodyView);
+                        };
+                        break;
                     case ShowFunction.Sensor:
                         btnName.TextID = StringId.Sensor;
                         functionPageTitleId = StringId.Sensor;
@@ -1158,6 +1171,7 @@
                 if ( item != ShowFunction.Aks
                     && item != ShowFunction.Music
                     && item != ShowFunction.Environmental
+                    && item != ShowFunction.SecurityMonitoring
                     && item != ShowFunction.DoorLock
                     //&& ShowFunction.EnergyMonitoring != item
                     && ShowFunction.VideoIntercom != item

--
Gitblit v1.8.0