From c1cb2d8c6034a2ee7aa8a5710bba15b14f76cebc Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期五, 18 八月 2023 18:54:31 +0800
Subject: [PATCH] 2023年08月18日18:54:22

---
 HDL_ON/Entity/FunctionList.cs |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs
index cf7a775..2ee8ce7 100644
--- a/HDL_ON/Entity/FunctionList.cs
+++ b/HDL_ON/Entity/FunctionList.cs
@@ -143,6 +143,15 @@
             return Functions.FindAll((obj) => spkList.Contains(obj.spk));
         }
         /// <summary>
+        /// 搴忓垪鍒楄〃
+        /// </summary>
+        /// <returns></returns>
+        public List<Function> GetSeries()
+        {
+            return Functions.FindAll((obj) => obj.spk == SPK.CommonSeries);
+        }
+
+        /// <summary>
         /// 绐楀笜鍒楄〃
         /// </summary>
         public List<Function> GetCurtainList()
@@ -172,6 +181,16 @@
         public List<Function> GetVideoDoorLockList()
         {
             var spkList = SPK.GetVideoDoorLockSPKList();
+            return Functions.FindAll((obj) => spkList.Contains(obj.spk));
+        }
+
+        /// <summary>
+        /// 鑾峰彇褰遍煶涓帶鍒楄〃
+        /// </summary>
+        /// <returns></returns>
+        public List<Function> GetVideoControlsList()
+        {
+            var spkList = SPK.GetVideoControlsSPKList();
             return Functions.FindAll((obj) => spkList.Contains(obj.spk));
         }
 
@@ -577,14 +596,14 @@
         {
             if (lockReadFunctionStatus)
             {
-                MainPage.Log($"澶氭杩涘叆--杩斿洖");
+                MainPage.Log($"澶氭杩涘叆--杩斿洖1");
                 return;
             }
             new Thread(() =>
             {
                 if (lockReadFunctionStatus)
                 {
-                    MainPage.Log($"澶氭杩涘叆--杩斿洖");
+                    MainPage.Log($"澶氭杩涘叆--杩斿洖2");
                     return;
                 }
                 MainPage.Log($"杩涘叆--璇诲彇");

--
Gitblit v1.8.0