From 160785587667cc0d927f85e44c139ec9dde13a9e Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 25 十一月 2019 14:30:13 +0800
Subject: [PATCH] 原来的 IOS 工程舍弃(注:没有合并其他组员的代码)

---
 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