C3204
2026-01-16 52e8eef500031203c9a8fb4fac62c5c40c3d1802
LB_VisionProcesses/Communicators/CommunicatorConfig.cs
@@ -1,4 +1,5 @@
using Newtonsoft.Json;
using 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;
                }