From d1ab259186e2341a0839c87300065e9bb5f14e9c Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期二, 12 十一月 2019 10:42:14 +0800 Subject: [PATCH] 2019.11.12 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/GatewayRowControl.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/GatewayRowControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/GatewayRowControl.cs index 52838aa..c3a0bc0 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/GatewayRowControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/GatewayRowControl.cs @@ -37,6 +37,10 @@ /// </summary> public NormalViewControl btnName = null; /// <summary> + /// 鍥炬爣鎺т欢 + /// </summary> + public IconViewControl btnIcon = null; + /// <summary> /// 鏄剧ずIP鎺т欢 /// </summary> private NormalViewControl btnIp = null; @@ -82,7 +86,7 @@ var tempWay = this.zbGateway; //鍥炬爣 - var btnIcon = frameTable.AddLeftIcon(iconSize); + this.btnIcon = frameTable.AddLeftIcon(iconSize); if (tempWay != null) { HdlGatewayLogic.Current.SetGatewayIcon(btnIcon, tempWay); @@ -124,6 +128,9 @@ btnIp.TextSize = 12; btnIp.TextColor = UserCenterColor.Current.TextGrayColor1; frameTable.AddChidren(btnIp, ChidrenBindMode.BindEventOnly); + + //鍒濆鍊煎湪绾� + this.IsOnline = true; } #endregion -- Gitblit v1.8.0