<fix>[normal]C4新增上层直接回库

This commit is contained in:
葛林强 2024-06-15 11:02:06 +08:00
parent 3cf123647b
commit 2d43d0c040
2 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class Pick2StandOutC4(ConveyOperation conveyOperation, DataBaseData dataB
if (conveyTasks.Count < 1)
{
ConsoleLog.Warning($"【警告】二区出口:{area} 箱码:{msg} 无拣选任务");
ConveyPLCTask plcTask = new(plcId, (short)ConveyRouterEnum.RightMove);
ConveyPLCTask plcTask = new(plcId, (short)ConveyRouterEnum.Move); // 没有任务直接回库,走上层
string errText = _conveyOperation.WriteTask(area, plcTask);
if (string.IsNullOrEmpty(errText))
{

View File

@ -10,6 +10,8 @@ public enum ConveyRouterEnum : short
Go = 2003, // 直行,放行
Move = 2004, // 移栽
Spare2005 = 2005, // 备用2005
WmsErr = 9600, // Wms 异常
NoRead = 9700, // 读码失败
WcsErr = 9800, // Wcs 异常