| | |
| | | if (hadNet == 1) |
| | | { |
| | | //读取隐匿配置 |
| | | HdlBackupLogic.Current.LoadHideOption(); |
| | | //HdlBackupLogic.Current.LoadHideOption(); |
| | | //调试:强制开启后台调试App功能 |
| | | if (UserCenterResourse.HideOption.StartDebugApp == 1) |
| | | { |
| | |
| | | |
| | | //同步云端的网关id,如果本地拥有云端不存在的id,则表示应该被换绑了,直接删除 |
| | | HdlGatewayLogic.Current.SynchronizeDbGateway(); |
| | | |
| | | //读取App最低版本 |
| | | HdlFirmwareUpdateLogic.ReadAppLestVersion(); |
| | | //读取网关最低版本 |
| | | HdlFirmwareUpdateLogic.ReadGatewayLestVersion(); |
| | | } |
| | | |
| | | //断开远程Mqtt连接,重新连接 |
| | |
| | | { |
| | | //住宅切换时,检测网关连接情况 |
| | | CheckGatewayConnection(); |
| | | |
| | | } |
| | | UserCenterResourse.DicReceiveGatewayTest = null; |
| | | } |