From 1f362c09985ad2c1565b32349329b34adc6984e8 Mon Sep 17 00:00:00 2001 From: lxw Date: Wed, 23 Oct 2024 18:31:03 +0800 Subject: [PATCH] rizhi --- Service/MyTask/UpdateDownBatteryInfoTask.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Service/MyTask/UpdateDownBatteryInfoTask.cs b/Service/MyTask/UpdateDownBatteryInfoTask.cs index 8690778..863a23c 100644 --- a/Service/MyTask/UpdateDownBatteryInfoTask.cs +++ b/Service/MyTask/UpdateDownBatteryInfoTask.cs @@ -58,11 +58,11 @@ public class UpdateDownBatteryInfoTask : ITask foreach (var battery in batterys) { - Log.Info($"检测到的battery ={battery}"); + Log.Info($"检测到的battery ={JsonConvert.SerializeObject(battery)}"); //更新换下电池包 binInfosMap.TryGetValue(battery.DownBatteryBinNo.ToString(), out BinInfo info); - Log.Info($"检测到的 bininfo ={info}"); + Log.Info($"检测到的 bininfo ={JsonConvert.SerializeObject(info)}"); if (info == null) { continue;