From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期二, 30 八月 2022 09:37:38 +0800
Subject: [PATCH] 合并了IOS的代码

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
index 336f2e7..c00d980 100644
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
@@ -4,7 +4,6 @@
 using Shared.Common.ResponseEntity;
 using System.Collections.Generic;
 using System.Text;
-
 namespace Shared.Phone.UserCenter
 {
     /// <summary>
@@ -565,6 +564,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 +818,7 @@
                 if (hadNet == 1)
                 {
                     //璇诲彇闅愬尶閰嶇疆
-                    HdlBackupLogic.Current.LoadHideOption();
+                    //HdlBackupLogic.Current.LoadHideOption();
                     //璋冭瘯锛氬己鍒跺紑鍚悗鍙拌皟璇旳pp鍔熻兘
                     if (UserCenterResourse.HideOption.StartDebugApp == 1)
                     {
@@ -862,6 +865,11 @@
 
                     //鍚屾浜戠鐨勭綉鍏砳d锛屽鏋滄湰鍦版嫢鏈変簯绔笉瀛樺湪鐨刬d锛屽垯琛ㄧず搴旇琚崲缁戜簡锛岀洿鎺ュ垹闄�
                     HdlGatewayLogic.Current.SynchronizeDbGateway();
+
+                    //璇诲彇App鏈�浣庣増鏈�
+                    HdlFirmwareUpdateLogic.ReadAppLestVersion();
+                    //璇诲彇缃戝叧鏈�浣庣増鏈�
+                    HdlFirmwareUpdateLogic.ReadGatewayLestVersion();
                 }
 
                 //鏂紑杩滅▼Mqtt杩炴帴,閲嶆柊杩炴帴
@@ -893,7 +901,6 @@
                 {
                     //浣忓畢鍒囨崲鏃�,妫�娴嬬綉鍏宠繛鎺ユ儏鍐�
                     CheckGatewayConnection();
-
                 }
                 UserCenterResourse.DicReceiveGatewayTest = null;
             }

--
Gitblit v1.8.0