From 31497bb69602433d94c8a28ea01c3ee3c7cc8576 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 24 十月 2019 14:32:30 +0800 Subject: [PATCH] 完全合并了Wjc,Xm 的 代码 --- 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