From bc8e768831cca0097a28d52a107d4edf00c3713a Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期一, 16 五月 2022 20:28:51 +0800
Subject: [PATCH] 1.导入全视通dll,增加全视通相关初始化、监听、访客、退出登录等方法 2.增加访客管理入口 3.增加全局判断是否支持全视通 4.增加自研判断 5.为全视通时隐藏通话记录界面

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
index 01a0587..f8370df 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
@@ -667,6 +667,8 @@
         {
             if (edit)
             {
+                ///
+                this.function = device;
                 Input inputs = Logic.currlogic.input[index];
                 //娓呴櫎涔嬪墠鏃ф暟鎹�
                 dicSateteList.Clear();
@@ -854,6 +856,9 @@
         private bool Is_SpkAttribute(string key) {
             ///淇敼鏂板睘鎬�
             ///璇嗗埆浣跨敤鍔熻兘鏄惁瀛樺湪灞炴��
+            if (this.function==null) {
+                return false;
+            }
             var job = this.function.GetAttribute(key);
             if (job != null)
             {

--
Gitblit v1.8.0