From dd3fecc3a8b92b377febfcf92d32ec22a07724f6 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期日, 26 九月 2021 15:21:57 +0800 Subject: [PATCH] 主从网关属性,防挤下线账号删除 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs index 0200f20..3293e0d 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs @@ -164,6 +164,10 @@ foreach (var function in FunctionList.List.GetDeviceFunctionList()) { function.roomIds.Remove(null); + if(MainPage.RoomNotSupportFunctionList.Contains(function.spk)) + { + continue; + } if (function.roomIds.Count > 0 ) { allocatedList.Add(function); -- Gitblit v1.8.0