From b304a3c78df10b6e9b867e677d3e4719f1d4a7aa Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期二, 24 三月 2020 09:12:15 +0800
Subject: [PATCH] 2020-03-23-3

---
 ZigbeeApp/Shared/Phone/Login/AccountLoginByCode.cs |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Login/AccountLoginByCode.cs b/ZigbeeApp/Shared/Phone/Login/AccountLoginByCode.cs
old mode 100755
new mode 100644
index c70ba52..3cc962f
--- a/ZigbeeApp/Shared/Phone/Login/AccountLoginByCode.cs
+++ b/ZigbeeApp/Shared/Phone/Login/AccountLoginByCode.cs
@@ -303,7 +303,7 @@
                 if (CheckAccount(account) == false)
                 {
                     return;
-                }
+                }
                 var reqLoginByCode = new SendDataToServer.LoginValidCodeOBJ()
                 {
                     Account = account,
@@ -311,7 +311,7 @@
                     Language = CommonPage.ZigBeeLanguage,
                     AreaCode = int.Parse(CommonPage.PhoneZoneStr)
                 };
-                var requestRevetLoginCodeOBJ = await CommonFormResouce.LoginByCode(reqLoginByCode);
+                var requestRevetLoginCodeOBJ = await CommonFormResouce.LoginByCode(reqLoginByCode);
                 if (requestRevetLoginCodeOBJ == null)
                 {
                     CommonPage.Instance.FailureToServer();
@@ -346,7 +346,7 @@
                         Config.Instance.Save();
                         var resultRegID = await CommonPage.Instance.PushRegID();
                         var homes = await House.GetHomeLists();
-    
+
                         //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
                         await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
                         //鍚姩ZigBee
@@ -512,14 +512,14 @@
                 else
                 {
                     new System.Threading.Thread(async () =>
-                    {
-                        var re = await isBindAuthAsync(authStr);
+                    {
+                        var re = await isBindAuthAsync(authStr);
                         if (re)
-                        {
-                            Application.RunOnMainThread(() =>
-                            {
-                                //鐩存帴鐧诲綍
-                                HomePage.Instance.ShowLoginLoadView();
+                        {
+                            Application.RunOnMainThread(() =>
+                            {
+                                //鐩存帴鐧诲綍
+                                HomePage.Instance.ShowLoginLoadView();
                             });
                             var resultRegID = await Shared.Common.CommonPage.Instance.PushRegID();
                             var homes = await House.GetHomeLists();
@@ -580,7 +580,7 @@
                             ZigBee.Common.Application.Init();
                             //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
                             await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
-                            Shared.Common.Room.InitAllRoom();
+                            UserCenter.HdlRoomLogic.Current.InitAllRoom();
                             Application.RunOnMainThread(() =>
                             {
                                 this.RemoveFromParent();

--
Gitblit v1.8.0