From 1b6bf29ff7daa1987de65940af52f452cabd6881 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期二, 15 七月 2025 17:27:50 +0800
Subject: [PATCH] 优化AGV任务部分日志、货位绑定内部方法

---
 util/LogHelper.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/util/LogHelper.cs b/util/LogHelper.cs
index 0afe82a..bb0e16d 100644
--- a/util/LogHelper.cs
+++ b/util/LogHelper.cs
@@ -68,10 +68,9 @@
             if (logger != null) {
                 logger.Error($"{message}{ex.StackTrace}");
             }
-        } 
+        }
 
-        // ------------
-
+        #region 鑷畾涔夋柟娉�         public static void InfoEx(Exception ex) {
             Info($"鍙戠敓浜嗗紓甯革細{ex.Message}\n{ex.StackTrace}");
         }
@@ -80,6 +79,11 @@
             Info($"瑙﹀彂API锛歿apiName} " + JsonConvert.SerializeObject(model), "API");
         }
 
+        public static void InfoHostToAGV(string taskName, object model) {
+            Info($"AGV浠诲姟锛歿taskName}" + JsonConvert.SerializeObject(model), "HosttoagvTask");
+        }
+        #endregion
+
     }
 
     internal class LogFactory

--
Gitblit v1.9.1