| | |
| | | /// </summary>
|
| | | private NormalViewControl btnName = null;
|
| | | /// <summary>
|
| | | /// 在线状态
|
| | | /// 在线状态(初始状态为在线)
|
| | | /// </summary>
|
| | | public bool isOnline = false;
|
| | | public bool isOnline = true;
|
| | |
|
| | | /// <summary>
|
| | | /// 自定义网关控件
|
| | |
| | | {
|
| | | btnName.Text = HdlGatewayLogic.Current.GetGatewayName(zbway);
|
| | | //在线状态
|
| | | this.isOnline = HdlGatewayLogic.Current.CheckGatewayOnlineByMemory(zbway);
|
| | | if (this.isOnline == false)
|
| | | {
|
| | | btnName.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | }
|
| | | //this.isOnline = HdlGatewayLogic.Current.CheckGatewayOnlineByMemory(zbway);
|
| | | //if (this.isOnline == false)
|
| | | //{
|
| | | // btnName.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | //}
|
| | | }
|
| | | else
|
| | | {
|