From 24068547ed1396034f56c7bd34ecbd2891f00653 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期一, 10 五月 2021 17:39:28 +0800
Subject: [PATCH] 代码优化

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

diff --git a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
index 4579724..b75b06e 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
@@ -72,7 +72,7 @@
             bodyView.AddChidren(topView);
 
             //涓嶆槸A缃戝叧鎴栬�呮槸鎴愬憳 鍙厑璁告坊鍔犲満鏅殣钘忚嚜鍔ㄥ寲
-            var HideAutoPage = DB_ResidenceData.Instance.CurrentRegion.IsOthreShare;
+            var HideAutoPage = DB_ResidenceData.Instance.CurrentRegion.isOtherShare;
             //鍒ゆ柇鏄惁闇�瑕侀殣钘忚嚜鍔ㄥ寲
             if (HideAutoPage)
             {
@@ -130,7 +130,7 @@
                 Height = Application.GetMinRealAverage(28),
                 UnSelectedImagePath = "Public/AddIcon.png",
             };
-            if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+            if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
             {
                 topView.AddChidren(btnAddIconBg);
             }
@@ -140,7 +140,7 @@
                 Width = Application.GetMinRealAverage(28+30),
                 Height = Application.GetMinRealAverage(28+29),
             };
-            if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+            if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
             {
                 topView.AddChidren(btnAddIcon);
             }
@@ -396,7 +396,7 @@
                     Width = Application.GetRealWidth(32),
                     UnSelectedImagePath = "Public/FuncInfoSetIcon_white.png",
                 };
-                if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+                if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
                 {
                     view.AddChidren(btnSettingIcon);
                 }
@@ -414,7 +414,7 @@
                 };
                 //view.AddChidren(btnCollection);
                 //2020-12-16 濡傛灉鏄垚鍛橀殣钘忔敹钘忓姛鑳�
-                if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+                if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
                 {
                     view.AddChidren(btnCollection);
                 }
@@ -583,7 +583,7 @@
                 if (!btnAutomationTitle.IsSelected)
                 {
                     //濡傛灉鏄垚鍛�
-                    if (DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+                    if (DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
                     {
                         //濡傛灉娌℃湁鍦烘櫙鏉冮檺
                         if (!DB_ResidenceData.Instance.CurrentRegion.isAllowCreateScene)

--
Gitblit v1.8.0