From 163777d8a2cb7cfa469f54a7042528870ebc10a3 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 09 十二月 2019 17:46:20 +0800
Subject: [PATCH] 一个新版本

---
 ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs b/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs
index 3cab11a..6bdec6f 100755
--- a/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs
@@ -394,11 +394,12 @@
                             Config.Instance.Save();
 
                             var resultRegID = await Shared.Common.CommonPage.Instance.PushRegID();
-                            var homes = await House.GetHomeLists();
+                            var homes = await House.GetHomeLists();
+                            //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
+                            await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
                             //鍚姩ZigBee
                             ZigBee.Common.Application.Init();
-                            //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
-                            await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
+
                             Shared.Common.Room.InitAllRoom();
                             Application.RunOnMainThread(() =>
                             {
@@ -543,11 +544,11 @@
                                         HomePage.Instance.ShowLoginLoadView();
                                     });
                                     var resultRegID = await Shared.Common.CommonPage.Instance.PushRegID();
-                                    var homes = await House.GetHomeLists();
+                                    var homes = await House.GetHomeLists();
+                                    //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
+                                    await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
                                     //鍚姩ZigBee
                                     ZigBee.Common.Application.Init();
-                                    //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
-                                    await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
                                     Shared.Common.Room.InitAllRoom();
                                     Application.RunOnMainThread(() =>
                                     {
@@ -675,13 +676,13 @@
                 Config.Instance.Save();
                 return true;
             }
-            else 
+            else
             {
                 return false;
             }
         }
 
-      
+
 
         /// <summary>
         /// phone/email 閫夋嫨

--
Gitblit v1.8.0