From 8e8155ee4ab7f9990ae42bc3d1306c537bacf487 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期三, 21 七月 2021 13:40:27 +0800
Subject: [PATCH] 优化了萤石功能,增加了对讲权限

---
 HDL_ON/UI/UI2/3-Intelligence/Scene/CatchSceneAddPage.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/CatchSceneAddPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/CatchSceneAddPage.cs
index 352dc86..8b7f266 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Scene/CatchSceneAddPage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/CatchSceneAddPage.cs
@@ -330,7 +330,10 @@
                         {
                             if(temp.roomIds.Contains(catchRoom.roomId))
                             {
-                                catchFunctionList.Add(temp);
+                                if (MainPage.SceneSupportFunctionList.Contains(temp.spk))
+                                {
+                                    catchFunctionList.Add(temp);
+                                }
                             }
                         }
                     }

--
Gitblit v1.8.0