From 301d3f15ba03ff942c029bd4c0b1ff544f7cfede Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 30 十二月 2020 11:19:48 +0800 Subject: [PATCH] 2020-12-30 1.解决RGB灯,色盘ColorPicker部分安卓手机,刷新图片时会变小问题 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs | 45 ++++----------------------------------------- 1 files changed, 4 insertions(+), 41 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs index 331e653..f70d227 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs @@ -186,47 +186,10 @@ } DB_ResidenceData.Instance.CurrentRegion = homeTemp; DB_ResidenceData.Instance.SaveResidenceData(); - var waitPage = new Loading(); - bodyView.AddChidren(waitPage); - waitPage.Start(Language.StringByID(StringId.PleaseWait)); - new System.Threading.Thread(() => - { - try - { - DB_ResidenceData.Instance.EixtAccount(); - //鍒锋柊涓�娆′綇瀹呯綉鍏� - new HttpServerRequest().GetHomeGatewayList(); - - Application.RunOnMainThread(() => - { - btnCurResidenceName.Text = DB_ResidenceData.Instance.CurrentRegion.Name; - //閲嶇疆缃戝叧鐘舵�� - DriverLayer.Control.Ins.GatewayOnline = false; - }); - - //鎼滅储缃戝叧 - DriverLayer.Control.Ins.SearchLoaclGateway(); - } - catch (Exception ex) - { - Application.RunOnMainThread(() => - { - new Alert(Language.StringByID(StringId.Tip), Language.StringByID(StringId.OperationFailed), - Language.StringByID(StringId.Close)).Show(); - }); - MainPage.Log(ex.Message); - } - finally - { - Application.RunOnMainThread(() => - { - waitPage.Hide(); - waitPage.RemoveFromParent(); - MainPage.InitializationData(); - }); - } - }) - { IsBackground = true }.Start(); + btnCurResidenceName.Text = DB_ResidenceData.Instance.CurrentRegion.Name; + DB_ResidenceData.Instance.EixtAccount(); + //鍒锋柊浣忓畢鏁版嵁 + Common.ApiUtlis.Ins.DownloadData(); } #endregion -- Gitblit v1.8.0