|
|
@ -41,6 +41,7 @@ public class BatteryMoveTask : ITask
|
|
|
|
{
|
|
|
|
{
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
Log.Info("auto move battery task start-------------------------");
|
|
|
|
var cacheBin = _binInfoRepository.QueryByClause(i => i.CacheBinFlag == 1);
|
|
|
|
var cacheBin = _binInfoRepository.QueryByClause(i => i.CacheBinFlag == 1);
|
|
|
|
if (cacheBin.Exists == 1)
|
|
|
|
if (cacheBin.Exists == 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -79,6 +80,7 @@ public class BatteryMoveTask : ITask
|
|
|
|
PlcMgr.PlcClient?.ExChangeTaskNo(0);
|
|
|
|
PlcMgr.PlcClient?.ExChangeTaskNo(0);
|
|
|
|
Log.Error($" SwapOrderReportCloudTask err e={e}");
|
|
|
|
Log.Error($" SwapOrderReportCloudTask err e={e}");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Log.Info("auto move battery task end-------------------------");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public bool Stoped()
|
|
|
|
public bool Stoped()
|
|
|
|