From 4e7c1dd0767d551ec3194ead9f3de0a219a802c3 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 25 九月 2023 17:24:37 +0800
Subject: [PATCH] Merge branch 'Dev-Branch' into wxr-2.1

---
 HDL_ON/UI/UI2/2-Classification/FunctionPage.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
index d5bea34..c8891fe 100644
--- a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
@@ -30,6 +30,7 @@
         List<Function> functionList;
         int titleId;
 
+        public Action DelAction;
         public FunctionPage()
         {
             bodyView = this;
@@ -185,7 +186,9 @@
             }
             else if (titleId == StringId.Electric)
             {
+               
                 functionList.AddRange(FunctionList.List.GetElectricals());
+
             }
             else if (titleId == StringId.EnvironmentalScience)
             {
@@ -320,6 +323,7 @@
                                     functionListView.RemoveAll();
                                     showList.Remove(function);//鍏堢Щ闄�
                                     ShowFunctionRow(showList,isAppend);
+                                    this.DelAction?.Invoke();
 
                                 };
                                 var functionDiv = new FunctionControlZone(function, deviceDelAction) 

--
Gitblit v1.8.0