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/NormalControls/IconBigViewControl.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconBigViewControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconBigViewControl.cs index cec8d6f..298afd5 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconBigViewControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconBigViewControl.cs @@ -7,7 +7,7 @@ /// <summary> /// 鍋氭垚涓�涓姞澶х偣鍑诲尯鍩熺殑鍥炬爣鎺т欢 /// </summary> - public class IconBigViewControl : FrameLayoutControl + public class IconBigViewControl : FrameLayoutStatuControl { /// <summary> /// 鍥炬爣鎺т欢(杩笉寰楀繁锛岃繖涓笢瑗垮紑鏀惧嚭鍘�) @@ -61,12 +61,12 @@ /// <param name="i_height">鎺т欢楂樺害</param> public IconBigViewControl(int i_width, int i_height) { - this.Width = Application.GetMinRealAverage(110); - this.Height = Application.GetMinRealAverage(110); + this.Width = this.GetPictrueRealSize(110); + this.Height = this.GetPictrueRealSize(110); this.btnIcon = new IconControlCommon(); - btnIcon.Width = Application.GetMinRealAverage(i_width); - btnIcon.Height = Application.GetMinRealAverage(i_height); + btnIcon.Width = this.GetPictrueRealSize(i_width); + btnIcon.Height = this.GetPictrueRealSize(i_height); btnIcon.Gravity = Gravity.Center; } @@ -75,7 +75,7 @@ /// </summary> public void InitControl() { - this.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnIcon, ChidrenBindMode.BindEvent); } } } -- Gitblit v1.8.0