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;