From b7d002d939eae379a4249882044e9c02357709d2 Mon Sep 17 00:00:00 2001 From: xjl <2595686544@qq.com> Date: Sat, 29 Jun 2024 14:31:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=BE=E5=A0=B4=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/MyTask/BatteryMoveTask.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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");