HDL Home App 第二版本 旧平台金堂用 正在使用
wjc
2022-12-01 351bdda734832d821a9764b0cde8be5d83c4ec50
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
@@ -814,10 +814,8 @@
                //如果有网络的话
                if (hadNet == 1)
                {
                    //重新发送命令去绑定断网情况下备份的网关
                    HdlGatewayLogic.Current.ResetComandToBindBackupGateway();
                    //读取隐匿配置
                    HdlBackupLogic.Current.LoadHideOption();
                    //HdlBackupLogic.Current.LoadHideOption();
                    //调试:强制开启后台调试App功能
                    if (UserCenterResourse.HideOption.StartDebugApp == 1)
                    {
@@ -859,8 +857,16 @@
                if (hadNet == 1)
                {
                    //重新发送命令去绑定断网情况下备份的网关
                    HdlGatewayLogic.Current.ResetComandToBindBackupGateway();
                    //同步云端的网关id,如果本地拥有云端不存在的id,则表示应该被换绑了,直接删除
                    HdlGatewayLogic.Current.SynchronizeDbGateway();
                    //读取App最低版本
                    HdlFirmwareUpdateLogic.ReadAppLestVersion();
                    //读取网关最低版本
                    HdlFirmwareUpdateLogic.ReadGatewayLestVersion();
                }
                //断开远程Mqtt连接,重新连接
@@ -892,7 +898,6 @@
                {
                    //住宅切换时,检测网关连接情况
                    CheckGatewayConnection();
                }
                UserCenterResourse.DicReceiveGatewayTest = null;
            }