From 16bea1d248f0010049bceaa562939297fa26b130 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 25 七月 2024 15:27:21 +0800 Subject: [PATCH] Merge branch 'Dev-Branch-2024' into wjc --- 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..9c4f0e5 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