From 955d02679c2c22bd3debd40a71510d78a8256cc4 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 07 十一月 2023 11:06:31 +0800
Subject: [PATCH] 场景使能自动化优化

---
 HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs
index 9f4b9b4..3088b95 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs
@@ -41,14 +41,16 @@
 
             contentView = new VerticalScrolViewLayout()
             {
-                Y = Application.GetRealHeight(64),
-                Height = Application.GetRealHeight(527),
+                Y = Application.GetRealHeight(64+10),
+                Height = Application.GetRealHeight(527-10),
             };
             bodyView.AddChidren(contentView);
 
             if (string.IsNullOrEmpty(title))
             {
-                new TopViewDiv(bodyView, Language.StringByID(StringId.AddSecurity)).LoadTopView();
+                var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.AddSecurity));
+                topView.maginY = 10;
+                topView.LoadTopView();
                 #region 甯冮槻淇℃伅
                 var deploymentTitleRow = new FrameLayout()
                 {
@@ -166,7 +168,9 @@
             }
             else
             {
-                new TopViewDiv(bodyView, title).LoadTopView();
+                var topView = new TopViewDiv(bodyView, title);
+                topView.maginY = 10;
+                topView.LoadTopView();
                 securityAlarm.status = "enable";
             }
 

--
Gitblit v1.8.0