From 3ce6c91e5325d0067596b5a571a4faa74d067289 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期一, 07 七月 2025 16:48:07 +0800
Subject: [PATCH] 修复满箱下线入库相关问题,优化日志和测试接口

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

diff --git a/util/LogHelper.cs b/util/LogHelper.cs
index 0afe82a..94fd38f 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浠诲姟锛� + JsonConvert.SerializeObject(model), "HosttoagvTask");
+        }
+        #endregion
+
     }
 
     internal class LogFactory

--
Gitblit v1.9.1