master
lxw 1 month ago
parent a20fcba1ae
commit 1f362c0998

@ -58,11 +58,11 @@ public class UpdateDownBatteryInfoTask : ITask
foreach (var battery in batterys) foreach (var battery in batterys)
{ {
Log.Info($"检测到的battery ={battery}"); Log.Info($"检测到的battery ={JsonConvert.SerializeObject(battery)}");
//更新换下电池包 //更新换下电池包
binInfosMap.TryGetValue(battery.DownBatteryBinNo.ToString(), out BinInfo info); binInfosMap.TryGetValue(battery.DownBatteryBinNo.ToString(), out BinInfo info);
Log.Info($"检测到的 bininfo ={info}"); Log.Info($"检测到的 bininfo ={JsonConvert.SerializeObject(info)}");
if (info == null) if (info == null)
{ {
continue; continue;

Loading…
Cancel
Save