From 52e8eef500031203c9a8fb4fac62c5c40c3d1802 Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期五, 16 一月 2026 12:47:42 +0800
Subject: [PATCH] 修复工具图像输入bug添加项目文件。

---
 LB_VisionProcesses/Communicators/CommunicatorConfig.cs |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/LB_VisionProcesses/Communicators/CommunicatorConfig.cs b/LB_VisionProcesses/Communicators/CommunicatorConfig.cs
index 56ea328..1f5cfed 100644
--- a/LB_VisionProcesses/Communicators/CommunicatorConfig.cs
+++ b/LB_VisionProcesses/Communicators/CommunicatorConfig.cs
@@ -1,4 +1,5 @@
-锘縰sing Newtonsoft.Json;
+锘縰sing LB_SmartVisionCommon;
+using Newtonsoft.Json;
 using Newtonsoft.Json.Serialization;
 using System.Collections.Concurrent;
 using System.Diagnostics;
@@ -43,12 +44,12 @@
 
                 if (!fullPath.Contains(".json"))
                 {
-                    Debug.WriteLine("鏂囦欢璺緞涓嶅畬鏁�");
+                    AsyncLogHelper.Info("鏂囦欢璺緞涓嶅畬鏁�");
                     return false;
                 }
                 if (string.IsNullOrEmpty(fullPath) || fullPath.Trim() == "")
                 {
-                    Debug.WriteLine("鏂囦欢璺緞涓嶅畬鏁�");
+                    AsyncLogHelper.Info("鏂囦欢璺緞涓嶅畬鏁�");
                     return false;
                 }
 
@@ -58,7 +59,7 @@
 
                 if (!File.Exists(fullPath))
                 {
-                    Debug.WriteLine("鏂囦欢涓嶅瓨鍦ㄥ垱寤虹┖鏂囦欢");
+                    AsyncLogHelper.Info("鏂囦欢涓嶅瓨鍦ㄥ垱寤虹┖鏂囦欢");
                     Save(directoryPath);
                     return true;
                 }
@@ -90,7 +91,7 @@
             {
                 if (string.IsNullOrEmpty(filePath) || filePath.Trim() == "")
                 {
-                    Debug.WriteLine("鏂囦欢璺緞涓嶅畬鏁�");
+                    AsyncLogHelper.Info("鏂囦欢璺緞涓嶅畬鏁�");
                     return false;
                 }
 

--
Gitblit v1.9.3