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/DeviceControls/DeviceInfoIconControl.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceInfoIconControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceInfoIconControl.cs index 561b5b3..863d55a 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceInfoIconControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceInfoIconControl.cs @@ -60,7 +60,7 @@ btnIcon2.BackgroundColor = 0xfffef1ed; btnIcon2.Radius = (uint)iconWidth / 2; btnIcon2.Gravity = Gravity.Center; - this.AddChidren(btnIcon2, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnIcon2, ChidrenBindMode.BindEvent); //璁惧鍥炬爣 var listDevice = Common.LocalDevice.Current.GetDevicesByMac(deviceMac); @@ -72,7 +72,7 @@ btnIcon = new NormalViewControl(this.GetPictrueRealSize(121), this.GetPictrueRealSize(121), false); btnIcon.Gravity = Gravity.Center; Common.LocalDevice.Current.SetDeviceObjectIconToControl(btnIcon, listDevice); - this.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnIcon, ChidrenBindMode.BindEvent); } /// <summary> @@ -90,13 +90,13 @@ btnIcon2.BackgroundColor = 0xfffef1ed; btnIcon2.Radius = (uint)iconWidth / 2; btnIcon2.Gravity = Gravity.Center; - this.AddChidren(btnIcon2, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnIcon2, ChidrenBindMode.BindEvent); //璁惧鍥炬爣 btnIcon = new NormalViewControl(this.GetPictrueRealSize(121), this.GetPictrueRealSize(121), false); btnIcon.Gravity = Gravity.Center; Common.LocalDevice.Current.SetDeviceIconToControl(btnIcon, Common.LocalDevice.Current.GetDevice(deviceMacAddr, epoint)); - this.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnIcon, ChidrenBindMode.BindEvent); } /// <summary> @@ -113,13 +113,13 @@ btnIcon2.BackgroundColor = 0xfffef1ed; btnIcon2.Radius = (uint)iconWidth / 2; btnIcon2.Gravity = Gravity.Center; - this.AddChidren(btnIcon2, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnIcon2, ChidrenBindMode.BindEvent); //璁惧鍥炬爣 btnIcon = new NormalViewControl(this.GetPictrueRealSize(121), this.GetPictrueRealSize(121), false); btnIcon.Gravity = Gravity.Center; HdlGatewayLogic.Current.SetGatewayIcon(btnIcon, i_gateway); - this.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnIcon, ChidrenBindMode.BindEvent); } #endregion -- Gitblit v1.8.0