| | |
| | | |
| | | string code = StateCode.SUCCESS; |
| | | |
| | | Inverter.Ins.H5Page = null;//重置光伏页面 |
| | | |
| | | var downloadDataThread = new System.Threading.Thread(() => |
| | | { |
| | | MainPage.Log($"进入读取云端数据线程"); |
| | |
| | | { IsBackground = true }.Start(); |
| | | |
| | | //===================读取逻辑列表========================== |
| | | UI.UI2.Intelligence.Automation.MainView.GetLogicList(); |
| | | UI.UI2.Intelligence.Automation.MainView.GetLogicList(true); |
| | | |
| | | //===================读取可视对讲数据========================== |
| | | //判断是否有可视对讲数据,有则显示可视对讲icon |
| | |
| | | |
| | | //======================安防==================== |
| | | GetSecurityList(); |
| | | //======================注册推送==================== |
| | | httpRequest.RegisteredPush(); |
| | | |
| | | |
| | | } |
| | | catch (Exception ex) |
| | |
| | | { |
| | | while (endTime > DateTime.Now) |
| | | { |
| | | if (DownloadDataComplete) |
| | | if (DownloadDataComplete && complateDevice && complateScene) |
| | | { |
| | | break; |
| | | } |