Commit 1f24990c LN

出库处理,moveStatus=BOX_H_InOutBack,没有对应的处理!

1 个父辈 73d3babc
......@@ -1967,21 +1967,25 @@ namespace OnlineStore.DeviceLibrary
LogUtil.error("验证出库【" + intouInfo.ToStr() + "】是否重复出错:" + ex.ToString());
}
if (CanStarInOut() && (LineConnect.CanStartOut() || IsDebug))
{
bool result = StartOutStoreMove(new InOutParam(intouInfo));
if (!result)
{
LogUtil.info( StoreName + " 执行出库【" + intouInfo.ToStr() + "】失败,加入等待队列");
AddWaitOutInfo(intouInfo);
}
}
else
{
LogUtil.error( "执行出库【" + intouInfo.ToStr() + "】失败,当前在忙碌中,加入等待队列");
AddWaitOutInfo(intouInfo);
}
//if (CanStarInOut() && (LineConnect.CanStartOut() || IsDebug))
//{
// bool result = StartOutStoreMove(new InOutParam(intouInfo));
// if (!result)
// {
// LogUtil.info( StoreName + " 执行出库【" + intouInfo.ToStr() + "】失败,加入等待队列");
// AddWaitOutInfo(intouInfo);
// }
//}
//else
//{
// LogUtil.error( "执行出库【" + intouInfo.ToStr() + "】失败,当前在忙碌中,加入等待队列");
// AddWaitOutInfo(intouInfo);
//}
LogUtil.error("出库任务【" + intouInfo.ToStr() + "】加入等待队列");
AddWaitOutInfo(intouInfo);
}
TimeSpan span = DateTime.Now - time;
if (span.TotalMilliseconds > 100)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!