From 3a26f6025130dcaae4aa82ea19b16ad902450eb8 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 28 十一月 2019 11:43:47 +0800
Subject: [PATCH] 合并全部代码完成

---
 ZigbeeApp/Shared/Phone/UserView/HomePage.cs |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserView/HomePage.cs b/ZigbeeApp/Shared/Phone/UserView/HomePage.cs
index 6a34fb4..be5e2ba 100755
--- a/ZigbeeApp/Shared/Phone/UserView/HomePage.cs
+++ b/ZigbeeApp/Shared/Phone/UserView/HomePage.cs
@@ -61,11 +61,10 @@
                     {
                         new System.Threading.Thread(async () =>
                         {
-                            //鍚姩ZigBee
-                            ZigBee.Common.Application.Init();
                             //鐧诲綍鎴愬姛
-                            var homes = await House.GetHomeLists();
-
+                            var homes = await House.GetHomeLists();
+                            //鍚姩ZigBee
+                            ZigBee.Common.Application.Init();
                             //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
                             await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
 
@@ -93,11 +92,10 @@
                         //鐧诲綍澶辫触锛屼篃鐩存帴杩涘叆涓婚〉
                         new System.Threading.Thread(async () =>
                         {
-                            //鍚姩ZigBee
-                            ZigBee.Common.Application.Init();
-
                             //鐧诲綍鎴愬姛
-                            var homes = await House.GetHomeLists();
+                            var homes = await House.GetHomeLists();
+                            //鍚姩ZigBee
+                            ZigBee.Common.Application.Init();
 
                             //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
                             await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();

--
Gitblit v1.8.0