From d8dd712b682362671ed81554ce4e5a2979f78cc8 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 20 九月 2022 13:27:56 +0800 Subject: [PATCH] 绿建科技系统 --- HDL_ON/Entity/FunctionList.cs | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs index cf3f154..c1b9c0c 100644 --- a/HDL_ON/Entity/FunctionList.cs +++ b/HDL_ON/Entity/FunctionList.cs @@ -41,6 +41,26 @@ public List<Function> Functions = new List<Function>(); /// <summary> + /// 缁垮缓绉戞妧绯荤粺 + /// 鎬绘帶鍒楄〃 + /// </summary> + /// <returns></returns> + public List<Function> GetAcstParentList() + { + return Functions.FindAll((obj) => obj.spk == SPK.AcstParent); + } + + /// <summary> + /// 缁垮缓绉戞妧绯荤粺 + /// 瀛愭帶鍒楄〃 + /// </summary> + /// <returns></returns> + public List<Function> GetAcstSubList() + { + return Functions.FindAll((obj) => obj.spk == SPK.AcstSub); + } + + /// <summary> /// 绌鸿皟鍒楄〃 /// </summary> /// <returns></returns> -- Gitblit v1.8.0