| | |
| | | using HDL_ON.DAL.Server; |
| | | using HDL_ON.Entity; |
| | | using HDL_ON.UI.UI2.FuntionControlView.Video; |
| | | using HDL_ON.UI.UI2.Intelligence.Automation; |
| | | using Newtonsoft.Json; |
| | | using Shared; |
| | | |
| | |
| | | waitPage.Start(Language.StringByID(StringId.PleaseWait)); |
| | | |
| | | string code = StateCode.SUCCESS; |
| | | |
| | | Inverter.Ins.H5Page = null;//重置光伏页面 |
| | | |
| | | var downloadDataThread = new System.Threading.Thread(() => |
| | | { |
| | |
| | | { IsBackground = true }.Start(); |
| | | |
| | | //===================读取逻辑列表========================== |
| | | Logic.LogicList.Clear();//主页下拉强制刷新自动化列表 |
| | | UI.UI2.Intelligence.Automation.MainView.GetLogicList(); |
| | | |
| | | //===================读取可视对讲数据========================== |
| | |
| | | |
| | | //======================安防==================== |
| | | GetSecurityList(); |
| | | //======================注册推送==================== |
| | | httpRequest.RegisteredPush(); |
| | | |
| | | |
| | | } |
| | | catch (Exception ex) |
| | |
| | | { |
| | | while (endTime > DateTime.Now) |
| | | { |
| | | if (DownloadDataComplete) |
| | | if (DownloadDataComplete && complateDevice && complateScene) |
| | | { |
| | | break; |
| | | } |