From bfc72d34aae172a0ec25c35bee0d6c28db57d0db Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 25 四月 2023 15:01:56 +0800 Subject: [PATCH] 自研可视对讲问题修复 --- HDL_ON/Entity/FunctionList.cs | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs index f8e9c99..aecf05a 100644 --- a/HDL_ON/Entity/FunctionList.cs +++ b/HDL_ON/Entity/FunctionList.cs @@ -56,6 +56,12 @@ /// </summary> public List<Function> Functions = new List<Function>(); /// <summary> + /// 缇ゆ帶鍒楄〃 + /// </summary> + public List<GroupControl> groupControls = new List<GroupControl>(); + + + /// <summary> /// 鏈烘鑷傚垪琛� /// </summary> /// <returns></returns> @@ -159,6 +165,15 @@ var spkList = SPK.GetDoorLockSPKList(); return Functions.FindAll((obj) => spkList.Contains(obj.spk)); } + /// <summary> + /// 鑾峰彇钀ょ煶瑙嗛闂ㄩ攣 + /// </summary> + /// <returns></returns> + public List<Function> GetVideoDoorLockList() + { + var spkList = SPK.GetVideoDoorLockSPKList(); + return Functions.FindAll((obj) => spkList.Contains(obj.spk)); + } /// <summary> /// 鏂伴鍒楄〃 -- Gitblit v1.8.0