From 992cc7d4433f8f9e9b0a930ec095973e056abe1c Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 05 七月 2021 09:42:12 +0800 Subject: [PATCH] 20210705-1 代码备份 --- 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