old mode 100755
new mode 100644
| | |
| | | |
| | | 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; |
| | |
| | | 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(); |
| | |
| | | { |
| | | //直接登录 |
| | | 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(); |
| | |
| | | }) |
| | | { 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) |
| | | { |
| | |
| | | //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(); |
| | |
| | | } |
| | | }; |
| | | #endif |
| | | |
| | | |
| | | |
| | |
|
| | |
|
| | |
|
| | | } |
| | | |
| | | /// <summary> |