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/Device/Account/AccountLogin.cs | 34 +++++++++++++++++----------------- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs b/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs old mode 100755 new mode 100644 index f21a869..74d3d8c --- a/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs +++ b/ZigbeeApp/Shared/Phone/Device/Account/AccountLogin.cs @@ -372,8 +372,6 @@ new System.Threading.Thread(async () => { - //鍚姩ZigBee - ZigBee.Common.Application.Init(); //瀛樺偍鏁版嵁 var responseDataObj = Newtonsoft.Json.JsonConvert.DeserializeObject<Shared.Common.ResponseEntity.UserLoginRes>(revertObj.ResponseData.ToString()); var revertData = responseDataObj; @@ -394,7 +392,9 @@ Config.Instance.Save(); var resultRegID = await Shared.Common.CommonPage.Instance.PushRegID(); - var homes = await House.GetHomeLists(); + var homes = await House.GetHomeLists(); + //鍚姩ZigBee + ZigBee.Common.Application.Init(); //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼ await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread(); Shared.Common.Room.InitAllRoom(); @@ -511,10 +511,10 @@ { //鐩存帴鐧诲綍 HomePage.Instance.ShowLoginLoadView(); - //鍚姩ZigBee - ZigBee.Common.Application.Init(); var resultRegID = await Shared.Common.CommonPage.Instance.PushRegID(); - var homes = await House.GetHomeLists(); + var homes = await House.GetHomeLists(); + //鍚姩ZigBee + ZigBee.Common.Application.Init(); //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼ await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread(); Shared.Common.Room.InitAllRoom(); @@ -539,14 +539,14 @@ }) { IsBackground = true }.Start(); } - }; - //} - //}; + }; + //} + //}; #endif - + #if iOS - GateWay.Ios.AppDelegate.WXLogin(); - GateWay.Ios.AppDelegate.RespAction = (authStr) => + Home.IOS.AppDelegate.WXLogin(); + Home.IOS.AppDelegate.RespAction = (authStr) => { if (authStr == null) { @@ -564,10 +564,10 @@ //this.RemoveFromParent(); //UserPage.Instance.Fresh(); - //鍚姩ZigBee - ZigBee.Common.Application.Init(); var resultRegID = await Shared.Common.CommonPage.Instance.PushRegID(); var homes = await House.GetHomeLists(); + //鍚姩ZigBee + ZigBee.Common.Application.Init(); //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼ await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread(); Shared.Common.Room.InitAllRoom(); @@ -593,9 +593,9 @@ } }; #endif - - - + + + } /// <summary> -- Gitblit v1.8.0