From 05adbc074259c66c7dd62bc9d9d60aadbb86df2d Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 02 四月 2021 14:02:28 +0800
Subject: [PATCH] 2021-04-02 1.获取功能介绍增加英文适配

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

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index d23f3b4..8e33a2b 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -478,7 +478,7 @@
                         functionCount = FunctionList.List.GetElectricals().Count;
                         functionOnCount = FunctionList.List.GetElectricals().FindAll((obj) => obj.trait_on_off.curValue.ToString() == "on").Count;
                         #endregion
-                        functionCount = 1;
+                        //functionCount = 1;
                         break;
                     case ShowFunction.Environmental:
                         #region 鐜鏁版嵁
@@ -495,7 +495,7 @@
                     case ShowFunction.Panel:
                         break;
                     case ShowFunction.SecurityMonitoring:
-                        //functionCount = 1;
+                        functionCount = 1;
                         break;
                     case ShowFunction.Sensor:
                         functionCount = FunctionList.List.GetArmSensorList().Count;
@@ -627,7 +627,7 @@
                             LoadEvent_SwitchFunction(btnLightPower, item, functionView);
                         };
                         functionPageTitleId = StringId.Lights;
-                      
+
                         #endregion
                         break;
                     case ShowFunction.AC:
@@ -805,13 +805,10 @@
                         break;
                     case ShowFunction.VideoIntercom:
                         btnName.TextID = StringId.VideoIntercom;
-
                         btnFunctionViewBg.MouseUpEventHandler = (sender, e) =>
                         {
-                            var mainView = new HDL_ON.UI.UI2.FuntionControlView.Video.MainView();
-                            MainPage.BasePageView.AddChidren(mainView);
-                            mainView.Show();
-                            MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                            var videoMethod = new UI2.FuntionControlView.Video.VideoMethod();
+                            videoMethod.MianView(this,FunctionList.List.videoIntercom);
                         };
                         break;
 

--
Gitblit v1.8.0