| | |
| | | /// </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> |
| | |
| | | /// <para>false:直接无条件添加</para></param> |
| | | public void IniFunctionList(string filePath, bool checkRepeat = false) |
| | | { |
| | | //MainPage.Log("12346890sdkxghjkl"); |
| | | // todo 增加设备,增加功能进功能列表 |
| | | if (filePath.StartsWith("FunctionData_")) |
| | | { |
| | |
| | | return Functions; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 清空设备功能列表 |
| | | /// </summary> |