From dc6b96a219645c1125de6d6bb5e94d61cf167be1 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期六, 21 八月 2021 17:37:53 +0800
Subject: [PATCH] 2021-8-21-1

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/PublicInterface.cs |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/PublicInterface.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/PublicInterface.cs
index 27524ab..92fc099 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/PublicInterface.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/PublicInterface.cs
@@ -263,7 +263,7 @@
         /// <param name="list">鏄剧ず鏁版嵁婧�</param>
         /// <param name="titleText">鏍囬</param>
         /// <param name="action">杩斿洖鍊肩储寮曞��</param>
-        public void FrameOrVv(FrameLayout frame, List<string> list, int titleText, Action<int> action)
+        public void FrameOrVv(FrameLayout frame, List<string> list, List<string> stateList, int titleText, Action<int> action)
         {
 
             int line = 0;
@@ -366,6 +366,11 @@
                 {
                     verticalRefresh.AddChidren(checkView.FLayoutView());
                 }
+
+                if (stateList.Contains(strName))
+                {
+                    checkView.btnCheckIcon.IsSelected = true;
+                }
                 checkView.btnText.Text = strName;
                 checkView.btnClick.Tag = i;//鏍囪
                 //鐐瑰嚮浜嬩欢
@@ -391,8 +396,7 @@
                 frameLayout.RemoveFromParent();
             };
 
-        }
-
+        }  
         /// <summary>
         /// 瓒呭嚭5涓厓绱犺鐢ㄦ粦鍔ㄦ帶浠�
         /// </summary>
@@ -400,7 +404,7 @@
         /// <param name="list">鏄剧ず鏁版嵁婧�</param>
         /// <param name="stateList">涔嬪墠鐘舵�佹暟鎹簮</param>
         /// <param name="titleText">鏍囬</param>
-        /// <param name="action">杩斿洖鍊肩储寮曞��</param>
+        /// <param name="action">杩斿洖鍊煎垪琛�</param>
         public void FrameOrVvList(FrameLayout frame, List<string> list, List<string> stateList, int titleText, Action<List<string>> action)
         {
 

--
Gitblit v1.8.0