From 5ec581e5d37b108fc9d59e89afd8e94e21b32080 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期二, 17 十月 2023 17:33:36 +0800
Subject: [PATCH] 2023年10月17日17:33:33

---
 HDL_ON/Entity/FunctionList.cs |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs
index f6aad52..919bfe1 100644
--- a/HDL_ON/Entity/FunctionList.cs
+++ b/HDL_ON/Entity/FunctionList.cs
@@ -185,6 +185,16 @@
         }
 
         /// <summary>
+        /// 鑾峰彇褰遍煶涓帶鍒楄〃
+        /// </summary>
+        /// <returns></returns>
+        public List<Function> GetVideoControlsList()
+        {
+            var spkList = SPK.GetVideoControlsSPKList();
+            return Functions.FindAll((obj) => spkList.Contains(obj.spk));
+        }
+
+        /// <summary>
         /// 鏂伴鍒楄〃
         /// </summary>
         /// <returns></returns>
@@ -218,7 +228,7 @@
         /// </summary>
         public List<Function> GetElectricals()
         {
-            var spkList = SPK.ElectricalSpkList();
+        var spkList = SPK.ElectricalSpkList();
             return Functions.FindAll((obj) => spkList.Contains(obj.spk));
         }
     

--
Gitblit v1.8.0