From b4f5f74d74a0a0996358d8348956601b30f17266 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 08 十二月 2021 16:07:51 +0800
Subject: [PATCH] 隐藏安防

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs |  156 ++++++++++++++++++++++++++--------------------------
 1 files changed, 78 insertions(+), 78 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index 95475ac..7f6ccf1 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -85,10 +85,10 @@
         /// 鍖哄煙鎴愬憳灏忓尯鍩熸枃鏈�
         /// </summary>
         Button btnResidenceMemberText;
-        /// <summary>
-        /// 鍖哄煙瀹夋斁灏忓尯鍩�
-        /// </summary>
-        FrameLayout residenceArmView;
+        ///// <summary>
+        ///// 鍖哄煙瀹夋斁灏忓尯鍩�
+        ///// </summary>
+        //FrameLayout residenceArmView;
         /// <summary>
         /// 鍖哄煙鎴愬畨鏀惧皬鍖哄煙鍥炬爣
         /// </summary>
@@ -287,21 +287,21 @@
             contentView.RemoveAll();
 
             #region 浣忓畢淇℃伅鍖哄煙
-            if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare && DB_ResidenceData.Instance.GatewayType == 1)
-            {
-                residenceInfoView = new FrameLayout()
-                {
-                    Gravity = Gravity.CenterHorizontal,
-                    Width = Application.GetRealWidth(343),
-                    Height = Application.GetRealHeight(213),
-                    BackgroundColor = CSS_Color.MainBackgroundColor,
-                    Radius = (uint)Application.GetRealHeight(12),
-                    BorderColor = 0x00FFFFFF,
-                    BorderWidth = 0,
-                };
-                contentView.AddChidren(residenceInfoView);
-            }
-            else
+            //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare && DB_ResidenceData.Instance.GatewayType == 1)
+            //{
+            //    residenceInfoView = new FrameLayout()
+            //    {
+            //        Gravity = Gravity.CenterHorizontal,
+            //        Width = Application.GetRealWidth(343),
+            //        Height = Application.GetRealHeight(213),
+            //        BackgroundColor = CSS_Color.MainBackgroundColor,
+            //        Radius = (uint)Application.GetRealHeight(12),
+            //        BorderColor = 0x00FFFFFF,
+            //        BorderWidth = 0,
+            //    };
+            //    contentView.AddChidren(residenceInfoView);
+            //}
+            //else
             {
                 residenceInfoView = new FrameLayout()
                 {
@@ -449,34 +449,34 @@
                 if (DB_ResidenceData.Instance.GatewayType == 1)
                 {
                     #region ---瀹夋斁鍖哄煙
-                    residenceArmView = new FrameLayout()
-                    {
-                        X = residenceMemberView.Right,
-                        Y = Application.GetRealHeight(68),
-                        Width = Application.GetRealWidth(64 + 48),
-                        Height = Application.GetRealHeight(64),
-                    };
-                    residenceInfoView.AddChidren(residenceArmView);
-                    btnResidenceArmIcon = new Button
-                    {
-                        Gravity = Gravity.CenterHorizontal,
-                        Y = Application.GetRealHeight(5),
-                        Width = Application.GetMinRealAverage(30),
-                        Height = Application.GetMinRealAverage(30),
-                        UnSelectedImagePath = "PersonalCenter/ResidenceArmIcon.png",
-                        SelectedImagePath = "PersonalCenter/ResidenceDefenseIcon.png",
-                    };
-                    residenceArmView.AddChidren(btnResidenceArmIcon);
-                    btnResidenceArmText = new Button()
-                    {
-                        Y = btnResidenceManageIcon.Bottom,
-                        Height = Application.GetRealHeight(29),
-                        TextID = StringId.Undefense,
-                        TextAlignment = TextAlignment.Center,
-                        TextColor = CSS_Color.FirstLevelTitleColor,
-                        TextSize = CSS_FontSize.PromptFontSize_FirstLevel
-                    };
-                    residenceArmView.AddChidren(btnResidenceArmText);
+                    //residenceArmView = new FrameLayout()
+                    //{
+                    //    X = residenceMemberView.Right,
+                    //    Y = Application.GetRealHeight(68),
+                    //    Width = Application.GetRealWidth(64 + 48),
+                    //    Height = Application.GetRealHeight(64),
+                    //};
+                    //residenceInfoView.AddChidren(residenceArmView);
+                    //btnResidenceArmIcon = new Button
+                    //{
+                    //    Gravity = Gravity.CenterHorizontal,
+                    //    Y = Application.GetRealHeight(5),
+                    //    Width = Application.GetMinRealAverage(30),
+                    //    Height = Application.GetMinRealAverage(30),
+                    //    UnSelectedImagePath = "PersonalCenter/ResidenceArmIcon.png",
+                    //    SelectedImagePath = "PersonalCenter/ResidenceDefenseIcon.png",
+                    //};
+                    //residenceArmView.AddChidren(btnResidenceArmIcon);
+                    //btnResidenceArmText = new Button()
+                    //{
+                    //    Y = btnResidenceManageIcon.Bottom,
+                    //    Height = Application.GetRealHeight(29),
+                    //    TextID = StringId.Undefense,
+                    //    TextAlignment = TextAlignment.Center,
+                    //    TextColor = CSS_Color.FirstLevelTitleColor,
+                    //    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
+                    //};
+                    //residenceArmView.AddChidren(btnResidenceArmText);
                     #endregion
                 }
 
@@ -546,9 +546,9 @@
                     #region ---娣诲姞鍔熻兘鍖哄煙
                     residenceAddFunctionView = new FrameLayout()
                     {
-                        //X = residenceMemberView.Right,
-                        X = Application.GetRealWidth(28 - 24),
-                        Y = residenceManageView.Bottom,
+                        X = residenceMemberView.Right,
+                        //X = Application.GetRealWidth(28 - 24),
+                        Y = Application.GetRealHeight(68),//residenceManageView.Bottom,
                         Width = Application.GetRealWidth(64 + 48),
                         Height = Application.GetRealWidth(64),
                     };
@@ -590,34 +590,34 @@
                 if (DB_ResidenceData.Instance.GatewayType == 1)
                 {
                     #region ---瀹夋斁鍖哄煙
-                    residenceArmView = new FrameLayout()
-                    {
-                        X = Application.GetRealWidth(28 - 24),
-                        Y = Application.GetRealHeight(68),
-                        Width = Application.GetRealWidth(64 + 48),
-                        Height = Application.GetRealWidth(64),
-                    };
-                    residenceInfoView.AddChidren(residenceArmView);
-                    btnResidenceArmIcon = new Button
-                    {
-                        Gravity = Gravity.CenterHorizontal,
-                        Y = Application.GetRealHeight(5),
-                        Width = Application.GetMinRealAverage(30),
-                        Height = Application.GetMinRealAverage(30),
-                        UnSelectedImagePath = "PersonalCenter/ResidenceArmIcon.png",
-                        SelectedImagePath = "PersonalCenter/ResidenceDefenseIcon.png",
-                    };
-                    residenceArmView.AddChidren(btnResidenceArmIcon);
-                    btnResidenceArmText = new Button()
-                    {
-                        Y = btnResidenceArmIcon.Bottom,
-                        Height = Application.GetRealHeight(29),
-                        TextID = StringId.Undefense,
-                        TextAlignment = TextAlignment.Center,
-                        TextColor = CSS_Color.FirstLevelTitleColor,
-                        TextSize = CSS_FontSize.PromptFontSize_FirstLevel
-                    };
-                    residenceArmView.AddChidren(btnResidenceArmText);
+                    //residenceArmView = new FrameLayout()
+                    //{
+                    //    X = Application.GetRealWidth(28 - 24),
+                    //    Y = Application.GetRealHeight(68),
+                    //    Width = Application.GetRealWidth(64 + 48),
+                    //    Height = Application.GetRealWidth(64),
+                    //};
+                    //residenceInfoView.AddChidren(residenceArmView);
+                    //btnResidenceArmIcon = new Button
+                    //{
+                    //    Gravity = Gravity.CenterHorizontal,
+                    //    Y = Application.GetRealHeight(5),
+                    //    Width = Application.GetMinRealAverage(30),
+                    //    Height = Application.GetMinRealAverage(30),
+                    //    UnSelectedImagePath = "PersonalCenter/ResidenceArmIcon.png",
+                    //    SelectedImagePath = "PersonalCenter/ResidenceDefenseIcon.png",
+                    //};
+                    //residenceArmView.AddChidren(btnResidenceArmIcon);
+                    //btnResidenceArmText = new Button()
+                    //{
+                    //    Y = btnResidenceArmIcon.Bottom,
+                    //    Height = Application.GetRealHeight(29),
+                    //    TextID = StringId.Undefense,
+                    //    TextAlignment = TextAlignment.Center,
+                    //    TextColor = CSS_Color.FirstLevelTitleColor,
+                    //    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
+                    //};
+                    //residenceArmView.AddChidren(btnResidenceArmText);
                     #endregion
                 }
                 #region F3闃舵

--
Gitblit v1.8.0