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/ProgressFormBar.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressFormBar.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressFormBar.cs index 3349ea3..0f048dc 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressFormBar.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressFormBar.cs @@ -124,7 +124,7 @@ HdlThreadLogic.Current.RunMain(() => { btnText.Text = msg; - }); + }, ShowErrorMode.NO); } #endregion @@ -137,7 +137,7 @@ /// <param name="value">姝ゅ�间负鐧惧垎姣斿��(涔熷氨鏄皬浜庢垨鑰呯瓑浜�1鐨�)</param> public void SetValue(decimal value) { - this.btnProgressBar.SetValue(value); + this.btnProgressBar?.SetValue(value); } /// <summary> @@ -147,7 +147,7 @@ /// <param name="maxValue">鏈�澶у��</param> public void SetValue(decimal value, decimal maxValue) { - this.btnProgressBar.SetValue(value, maxValue); + this.btnProgressBar?.SetValue(value, maxValue); } #endregion @@ -165,7 +165,7 @@ { //鍒濆鍖栬繘搴︽潯 this.InitProgressFormBar(); - }); + }, ShowErrorMode.NO); } } @@ -200,7 +200,7 @@ //鍏抽棴浜嬩欢 this.CloseEvent?.Invoke(); this.CloseEvent = null; - }); + }, ShowErrorMode.NO); } #endregion -- Gitblit v1.8.0