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/UI/UI2/3-Intelligence/Automation/MainView.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs
index 57848d1..a28c458 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs
@@ -258,9 +258,9 @@
         /// <summary>
         /// 鑾峰彇閫昏緫鍒楄〃
         /// </summary>
-        public static void GetLogicList()
+        public static void GetLogicList(bool needRefresh = false)//澧炲姞寮哄埗鍒锋柊
         {
-            if (Logic.LogicList.Count != 0)
+            if (Logic.LogicList.Count != 0 || !needRefresh)
             {
                 //鑷姩鍖栧垪琛ㄤ负0鎵嶅幓鑾峰彇鑷姩鍖栧垪琛紱
                 return;

--
Gitblit v1.8.0