From b3c9ada9a3e758c9f67abb9fc0a6a2764c7ea03d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 13 十月 2022 11:19:07 +0800
Subject: [PATCH] 光伏更新主页图标

---
 HDL_ON/Common/ApiUtlis.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index 38f4711..15c61f8 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -318,7 +318,7 @@
                     { IsBackground = true }.Start();
 
                     //===================璇诲彇閫昏緫鍒楄〃==========================
-                    UI.UI2.Intelligence.Automation.MainView.GetLogicList();
+                    UI.UI2.Intelligence.Automation.MainView.GetLogicList(true);
 
                     //===================璇诲彇鍙瀵硅鏁版嵁==========================
                     //鍒ゆ柇鏄惁鏈夊彲瑙嗗璁叉暟鎹紝鏈夊垯鏄剧ず鍙瀵硅icon
@@ -403,6 +403,9 @@
 
                     //======================瀹夐槻====================
                     GetSecurityList();
+                    //======================娉ㄥ唽鎺ㄩ��====================
+                    httpRequest.RegisteredPush();
+
 
                 }
                 catch (Exception ex)
@@ -439,7 +442,7 @@
                 {
                     while (endTime > DateTime.Now)
                     {
-                        if (DownloadDataComplete)
+                        if (DownloadDataComplete && complateDevice && complateScene)
                         {
                             break;
                         }

--
Gitblit v1.8.0