HDL Home App 第二版本 旧平台金堂用 正在使用
chenqiyang
2022-06-22 dc0309e64f02227d8e1468b7326c07955f804612
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
@@ -4,7 +4,7 @@
using Shared.Common.ResponseEntity;
using System.Collections.Generic;
using System.Text;
using Shared.IOS.HDLFVSDK;
namespace Shared.Phone.UserCenter
{
    /// <summary>
@@ -565,6 +565,10 @@
        /// <param name="noticeDb">是否通知云端</param>
        public static void ReLoginAgain(string account = "", bool noticeDb = true)
        {
#if iOS
            //退出全视通登录
            Shared.IOS.HDLFVSDK.Video.Logout();
#endif
            if (Config.Instance.Home.IsVirtually == true)
            {
                //如果是虚拟住宅
@@ -815,7 +819,7 @@
                if (hadNet == 1)
                {
                    //读取隐匿配置
                    HdlBackupLogic.Current.LoadHideOption();
                    //HdlBackupLogic.Current.LoadHideOption();
                    //调试:强制开启后台调试App功能
                    if (UserCenterResourse.HideOption.StartDebugApp == 1)
                    {
@@ -862,6 +866,11 @@
                    //同步云端的网关id,如果本地拥有云端不存在的id,则表示应该被换绑了,直接删除
                    HdlGatewayLogic.Current.SynchronizeDbGateway();
                    //读取App最低版本
                    HdlFirmwareUpdateLogic.ReadAppLestVersion();
                    //读取网关最低版本
                    HdlFirmwareUpdateLogic.ReadGatewayLestVersion();
                }
                //断开远程Mqtt连接,重新连接
@@ -893,7 +902,6 @@
                {
                    //住宅切换时,检测网关连接情况
                    CheckGatewayConnection();
                }
                UserCenterResourse.DicReceiveGatewayTest = null;
            }