From a100ed2898468add96398ae069080a103c355c08 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 17 七月 2023 16:41:41 +0800
Subject: [PATCH] 视频门锁优化

---
 HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs
index e9a06e2..8b146ad 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs
@@ -314,6 +314,13 @@
                     TextID = StringId.AudioSetup,
                 };
                 audioSetupView.AddChidren(btnAudioSetupText);
+                btnAudioSetupText.MouseUpEventHandler = (sender, e) => {
+                    var page = new VideoDoorlockAudioSetupPage(function);
+                    MainPage.BasePageView.AddChidren(page);
+                    page.LoadPage();
+                    MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+
+                };
                 #endregion
 
                 #region 鐢垫睜绠$悊
@@ -351,6 +358,12 @@
                     TextID = StringId.BatteryManagement,
                 };
                 batteryManagementView.AddChidren(btnBatteryManagementText);
+                btnBatteryManagementText.MouseUpEventHandler = (sender, e) => {
+                    var page = new VideoDoorlockBatteryManagementPage();
+                    MainPage.BasePageView.AddChidren(page);
+                    page.LoadPage();
+                    MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                };
 
                
                 #endregion
@@ -383,7 +396,7 @@
                 serialView.AddChidren(serialTextBtn);
                 var serialValuesBtn = new Button()
                 {
-                    X = Application.GetRealWidth(86),
+                    X = Application.GetRealWidth(106),
                     Width = Application.GetRealWidth(237),
                     TextAlignment = TextAlignment.CenterRight,
                     TextColor = CSS_Color.PromptingColor1,
@@ -421,7 +434,7 @@
                 modelView.AddChidren(modelTextBtn);
                 var modelValuesBtn = new Button()
                 {
-                    X = Application.GetRealWidth(86),
+                    X = Application.GetRealWidth(106),
                     Width = Application.GetRealWidth(237),
                     TextAlignment = TextAlignment.CenterRight,
                     TextColor = CSS_Color.PromptingColor1,

--
Gitblit v1.8.0