黄学彪
2020-11-19 9ef48d7b2da7c408b53f73be0f6eef3cbac1c84a
ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs
@@ -1224,9 +1224,9 @@
            /// </summary>
            private NormalViewControl btnName = null;
            /// <summary>
            /// 在线状态
            /// 在线状态(初始状态为在线)
            /// </summary>
            public bool isOnline = false;
            public bool isOnline = true;
            /// <summary>
            /// 自定义网关控件
@@ -1271,11 +1271,11 @@
                {
                    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
                {