From a4534a17ec23a4effce2df59d9bd297a313c8168 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 19 七月 2024 17:55:32 +0800
Subject: [PATCH] 极光推送Sdk更新,不支持厂商

---
 HDL_ON/UI/UI2/1-HomePage/HomePage.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
index d3a4868..092736c 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -444,7 +444,7 @@
                     SelectedImagePath = "Collection/DefenseStatusIcon.png",
                     UnSelectedImagePath = "Collection/DisarmStatusIcon.png"
                 };
-                if (DB_ResidenceData.Instance.GatewayType == 1)
+                if (DB_ResidenceData.Instance.GatewayType == 1 && !DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
                 {
                         
                     topView.AddChidren(btnSecurityStatus);
@@ -502,6 +502,10 @@
                     UnSelectedImagePath = "Collection/MsgIcon.png",
                     SelectedImagePath = "Collection/MsgIconTip.png",
                 };
+                if(btnSecurityStatus.Parent == null)
+                {
+                    btnMsgIcon.X = Application.GetRealWidth(329);
+                }
                 topView.AddChidren(btnMsgIcon);
 
 
@@ -549,6 +553,17 @@
                 LoadContentView();
 
                 #endregion
+
+#if DEBUG
+                btnResidenceName.MouseUpEventHandler = (envent, ee) => {
+                    MainPage.Log("sss");
+                    //new System.Threading.Thread(async() =>
+                    //{
+                    //    await Common.AliyunLog.AliyunLogClient.PostLogs("鍛婅娴嬭瘯", "娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅娴嬭瘯淇℃伅");
+                    //})
+                    //{ IsBackground = true }.Start();
+                };
+#endif
             }
             catch (Exception ex)
             {

--
Gitblit v1.8.0