From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +0800 Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressBar.cs | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressBar.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressBar.cs index a652601..7edeaa4 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressBar.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressBar.cs @@ -38,13 +38,13 @@ public static void Show(string text = "") { m_value = 0; - Application.RunOnMainThread(() => + HdlThreadLogic.Current.RunMain(() => { if (Common.CommonPage.Loading.Visible == false && notShow == false) { Common.CommonPage.Loading.Start(text); } - }); + }, ShowErrorMode.NO); } /// <summary> @@ -58,8 +58,8 @@ if (coerce == true) { notClose = false; - } - Application.RunOnMainThread(() => + } + HdlThreadLogic.Current.RunMain(() => { if (Common.CommonPage.Loading.Visible == true && notClose == false) { @@ -67,8 +67,8 @@ notShow = false; notClose = false; notSetValue = false; - } - }); + } + }, ShowErrorMode.NO); } /// <summary> @@ -113,12 +113,12 @@ if (notSetValue == true) { return; - } - Application.RunOnMainThread(() => + } + HdlThreadLogic.Current.RunMain(() => { //loading.Text = text; - Common.CommonPage.Loading.Text = text + appendText; - }); + Common.CommonPage.Loading.Text = text + appendText; + }, ShowErrorMode.NO); } /// <summary> -- Gitblit v1.8.0