From a1b0a0e9ac707571a436272f41e3ee5aeef5aee2 Mon Sep 17 00:00:00 2001
From: nigel wei <nigelwei@192.168.5.223>
Date: 星期六, 31 八月 2024 19:10:47 +0800
Subject: [PATCH] 金茂定制备份

---
 HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
index 4fdd6fa..8893874 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
@@ -83,6 +83,7 @@
 
             //涓嶆槸A缃戝叧鎴栬�呮槸鎴愬憳 鍙厑璁告坊鍔犲満鏅殣钘忚嚜鍔ㄥ寲
             var HideAutoPage = DB_ResidenceData.Instance.CurrentRegion.isOtherShare;
+            bool hideSecurity = true;
             //鍒ゆ柇鏄惁闇�瑕侀殣钘忚嚜鍔ㄥ寲
             if (HideAutoPage)
             {
@@ -159,7 +160,6 @@
                     var otherWidth = (Application.GetRealWidth(375) - btnAutomationTitle.Width) / 2;
                     btnAutomationTitle.X = otherWidth;
 
-
                     btnSceneTilte = new Button()
                     {
                         Y = Application.GetRealHeight(40),
@@ -174,7 +174,6 @@
                     };
                     topView.AddChidren(btnSceneTilte);
 
-
                     btnSecurityTitle = new Button()
                     {
                         X = btnAutomationTitle.Right,
@@ -188,6 +187,7 @@
                         TextID = StringId.anfang,
                     };
                     topView.AddChidren(btnSecurityTitle);
+                    hideSecurity = false;
                 }
                 else
                 {
@@ -253,7 +253,10 @@
             {
                 LoadAutomationPageView();
             }
-            LoadSecurityPageView();
+            if (!hideSecurity)
+            {
+                LoadSecurityPageView();
+            }
             LoadEventList();
 
         }

--
Gitblit v1.8.0