From 4f8fc4fe0a7d6f73c3a06e6f924a4a2615b090d7 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 05 七月 2021 10:14:01 +0800 Subject: [PATCH] Merge branch 'wxr6' into newBranch1 --- HDL_ON/Entity/FunctionList.cs | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs index bef3882..b5622b0 100644 --- a/HDL_ON/Entity/FunctionList.cs +++ b/HDL_ON/Entity/FunctionList.cs @@ -143,6 +143,25 @@ /// </summary> public UI.UI2.FuntionControlView.Video.VideoClouds videoIntercom; + List<Function> _OtherBrandFunction; + /// <summary> + /// 绗笁鏂瑰搧鐗屽姛鑳� + /// </summary> + public List<Function> OtherBrandFunction + { + get + { + if(_OtherBrandFunction == null) + { + _OtherBrandFunction = new List<Function>(); + var spkList = SPK.GetAll3tySPK(); + _OtherBrandFunction = Functions.FindAll((obj) => spkList.Contains(obj.spk)); + } + return _OtherBrandFunction; + } + } + + /// <summary> /// 鍦烘櫙鍒楄〃 /// </summary> @@ -163,6 +182,7 @@ /// <para>false:鐩存帴鏃犳潯浠舵坊鍔�</para></param> public void IniFunctionList(string filePath, bool checkRepeat = false) { + //MainPage.Log("12346890sdkxghjkl"); // todo 澧炲姞璁惧锛屽鍔犲姛鑳借繘鍔熻兘鍒楄〃 if (filePath.StartsWith("FunctionData_")) { @@ -271,6 +291,9 @@ return Functions; } + + + /// <summary> /// 娓呯┖璁惧鍔熻兘鍒楄〃 /// </summary> -- Gitblit v1.8.0