diff --git a/Service/MyTask/BatteryMoveTask.cs b/Service/MyTask/BatteryMoveTask.cs index e787f6d..e328bc5 100644 --- a/Service/MyTask/BatteryMoveTask.cs +++ b/Service/MyTask/BatteryMoveTask.cs @@ -4,6 +4,7 @@ using HybirdFrameworkCore.AutoTask; using HybirdFrameworkCore.Entity; using log4net; using Repository.Station; +using Service.Init; using Service.Plc.Client; using Service.Station; @@ -47,7 +48,7 @@ public class BatteryMoveTask : ITask } List queryListByClause = - _binInfoRepository.QueryListByClause(i => i.ChargeStatus == 4 && i.CacheBinFlag == 0, + _binInfoRepository.QueryListByClause(i => i.ChargeStatus == 4 && i.CacheBinFlag == 0 && i.Soc>=StaticStationInfo.SwapSoc, "battery_enter_seq asc");