From bf3d64379bdf4424394103b31531a25d30be85d8 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 10 十一月 2022 11:45:14 +0800
Subject: [PATCH] 机械手

---
 HDL_ON/Common/ApiUtlis.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index 8369a48..00f630a 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -5,6 +5,7 @@
 using HDL_ON.DAL.Server;
 using HDL_ON.Entity;
 using HDL_ON.UI.UI2.FuntionControlView.Video;
+using HDL_ON.UI.UI2.Intelligence.Automation;
 using Newtonsoft.Json;
 using Shared;
 
@@ -320,7 +321,8 @@
                     { IsBackground = true }.Start();
 
                     //===================璇诲彇閫昏緫鍒楄〃==========================
-                    UI.UI2.Intelligence.Automation.MainView.GetLogicList(true);
+                    Logic.LogicList.Clear();//涓婚〉涓嬫媺寮哄埗鍒锋柊鑷姩鍖栧垪琛�
+                    //UI.UI2.Intelligence.Automation.MainView.GetLogicList();
 
                     //===================璇诲彇鍙瀵硅鏁版嵁==========================
                     //鍒ゆ柇鏄惁鏈夊彲瑙嗗璁叉暟鎹紝鏈夊垯鏄剧ず鍙瀵硅icon
@@ -350,10 +352,10 @@
                                 DB_ResidenceData.Instance.SaveResidenceData();
 
                                 Entity.DB_ResidenceData.Instance.SupportFVDevice = true;
-
                             }
                             else if (video.interphoneType == InterphoneType.FREEVIEW.ToString())
-                            {//涓哄叏瑙嗛�氬彲瑙嗗璁�
+                            {
+                                //涓哄叏瑙嗛�氬彲瑙嗗璁�
                                 DB_ResidenceData.Instance.SupportFacePass = true;
                                 Entity.DB_ResidenceData.Instance.SupportVisitorManage = true;
                                 Entity.DB_ResidenceData.Instance.SupportFVDevice = true;

--
Gitblit v1.8.0