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/FrameLayoutControls/FrameRowControl.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs index 037155f..86cc665 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs @@ -173,12 +173,17 @@ /// 娣诲姞宸﹁竟鍥炬爣 /// </summary> /// <param name="i_Iconsize">鍥炬爣澶у皬</param> + /// <param name="i_IconPath">鍥炬爣鍦板潃</param> /// <returns></returns> - public IconViewControl AddLeftIcon(int i_Iconsize = 81) + public IconViewControl AddLeftIcon(int i_Iconsize = 81, string i_IconPath = null) { var btnIcon = new IconViewControl(i_Iconsize); btnIcon.X = ControlCommonResourse.XXLeft + LeftOffset; btnIcon.Gravity = Gravity.CenterVertical; + if (i_IconPath != null) + { + btnIcon.UnSelectedImagePath = i_IconPath; + } this.AddChidren(btnIcon, ChidrenBindMode.BindEvent); if (chidrenYaxis != 0) { -- Gitblit v1.8.0