| | |
| | | HdlThreadLogic.Current.RunMain(() => |
| | | {
|
| | | //打开启动页
|
| | | HomePage.Instance.ShowLoginLoadView();
|
| | | CommonPage.Loading.Start(Language.StringByID(R.MyInternationalizationString.Logining));
|
| | |
|
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | |
| | | var homes = HdlResidenceLogic.Current.GetHomeListsFromDb(false);
|
| | |
|
| | | //刷新个人中心的内存及线程
|
| | | UserCenterLogic.InitUserCenterMenmoryAndThread();
|
| | | bool result = UserCenterLogic.InitUserCenterMenmoryAndThread();
|
| | |
|
| | | //启动ZigBee
|
| | | ZigBee.Common.Application.Init();
|
| | |
|
| | |
| | | this.RemoveFromParent();
|
| | | CommonPage.Instance.RemoveViewByTag("Register");
|
| | | CommonPage.Instance.RemoveViewByTag("Login");
|
| | | UserPage.Instance.ReFreshControl();
|
| | | if (result == true)
|
| | | {
|
| | | //false:开启了调试功能
|
| | | UserPage.Instance.ReFreshControl();
|
| | | }
|
| | | });
|
| | | }
|
| | | else
|