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/ProgressRowBar.cs | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs index 91b3ada..d3be37f 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs @@ -12,7 +12,7 @@ #region 鈻� 鍙橀噺澹版槑___________________________ /// <summary> - /// 杩涘浘鏉¤兘鍚﹀線鍥炶蛋(榛樿鍙互) + /// 杩涘害鏉¤兘鍚﹀線鍥炶蛋(榛樿鍙互) /// </summary> public bool ProgressBarGoback = true; /// <summary> @@ -35,6 +35,22 @@ /// 妯″紡鍖哄垎 /// </summary> private int m_ModeDiv = -1; + + /// <summary> + /// 杩涘害鏉℃槸鍚﹀彲瑙� + /// </summary> + public new bool Visible + { + get { return base.Visible; } + set + { + if (this.frameProgressBack != null) + { + this.frameProgressBack.Visible = value; + } + base.Visible = value; + } + } #endregion @@ -143,10 +159,12 @@ /// <param name="value"></param> private void SetValueEx(decimal value) { - if (btnProgressBar == null || this.m_ModeDiv != 1 || value > 1) + if (btnProgressBar == null || this.m_ModeDiv != 1) { return; } + if (value > 1) { value = 1; } + HdlThreadLogic.Current.RunMain(() => { int width = (int)(value * this.Width); -- Gitblit v1.8.0