From 54c202bd4867092fca2bc6f96bec0cfd1056a46a Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期一, 06 十一月 2023 11:24:20 +0800 Subject: [PATCH] 2023年11月06日11:23:46 --- HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs | 18 ++++++++++++++++-- 1 files changed, 16 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 a28c458..84ea1a0 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(bool needRefresh = false)//澧炲姞寮哄埗鍒锋柊 + public static void GetLogicList() { - if (Logic.LogicList.Count != 0 || !needRefresh) + if (Logic.LogicList.Count != 0) { //鑷姩鍖栧垪琛ㄤ负0鎵嶅幓鑾峰彇鑷姩鍖栧垪琛紱 return; @@ -366,6 +366,7 @@ //2-鍔熻兘鍥炬爣 //3-浜戠鍥炬爣 //4-鍦烘櫙鍥炬爣 + //5-鍦扮悊鍥存爮 for (int i = 0; i < logic.input.Count; i++) { if (logic.input[i] == null) @@ -395,12 +396,19 @@ } break; + case 8: + { + iconInt = 5; + + } + break; case 10: { iconInt = 4; } break; + } if (!iconIntValue.Contains(iconInt)) @@ -511,6 +519,12 @@ strIcon = "LogicIcon/selectTheScene.png"; } break; + case 5: + { + + strIcon = "LogicIcon/selectlocation.png"; + } + break; case 11: { //鍒嗗壊鏉′欢鍜岀洰鏍囩殑鍥炬爣 -- Gitblit v1.8.0