From 32ad85a377b00bc54ad7f15a45d7631d3e2b10d5 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期一, 13 六月 2022 17:41:12 +0800
Subject: [PATCH] 2022年06月13日17:39:46

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs
index dbe2972..6a3bd4e 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs
@@ -219,10 +219,11 @@
                     areaView.btnClick.MouseUpEventHandler += (sender, e2) =>
                     {
                         fLayout.RemoveFromParent();
-                        funAllAreaView.btnText2.Text = areaView.btnClick.Tag.ToString();
-                        UserInfo.Current.logicselectedFunction = areaView.btnClick.Tag.ToString();
+                        string clickText = areaView.btnClick.Tag.ToString(); 
+                        funAllAreaView.btnText2.Text = clickText;
+                        UserInfo.Current.logicselectedFunction = clickText;
                         ///鑾峰彇璁惧鍗曚釜澶х被spk鍒楄〃锛堜緥濡�:鐏厜绫�,绌鸿皟绫�...锛�
-                        var typeFunctionList2 = LogicMethod.CurrLogicMethod.GetDeviceTypeFunctionList(UserInfo.Current.logicselectedFunction);
+                        var typeFunctionList2 = LogicMethod.CurrLogicMethod.GetDeviceTypeFunctionList(clickText);
                         ///鑾峰彇璁惧鍗曚釜灏忕被鍒楄〃锛堜緥濡傦細鐏厜1,鐏厜2...锛�
                         var lists2 = LogicMethod.CurrLogicMethod.GetShowDeviceList(typeFunctionList2, functionList);
                        this.LoadingDeviceListView(vv, lists2);
@@ -250,8 +251,6 @@
             this.LoadingDeviceListView(vv, lists);
 
         }
-
-
         /// <summary>
         /// 鏄剧ず璁惧鐨刅iew
         /// </summary>

--
Gitblit v1.8.0