自动移仓判断是否换电禁用

zw
CZ 4 months ago
parent 12991fd9fa
commit 5604e08a7f

@ -50,7 +50,7 @@ public class BatteryMoveTask : ITask
List<BinInfo> queryListByClause = List<BinInfo> queryListByClause =
_binInfoRepository.QueryListByClause(i => i.ChargeStatus == 4 && i.CacheBinFlag == 0 && i.Soc>=StaticStationInfo.SwapSoc _binInfoRepository.QueryListByClause(i => i.ChargeStatus == 4 && i.CacheBinFlag == 0 && i.Soc>=StaticStationInfo.SwapSoc
&& i.AmtLock == 0 && i.Status == 1, "battery_enter_seq asc"); && i.AmtLock == 0 && i.Status == 1&&i.CanSwapFlag == 1, "battery_enter_seq asc");
if (queryListByClause.Count <= 0) if (queryListByClause.Count <= 0)

Loading…
Cancel
Save