| | |
| | | { |
| | | 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(); |
| | | |
| | |
| | | //登录失败,也直接进入主页 |
| | | 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(); |