1.Buffer1层不能有PM2的Tray

2.Buffer2层不能有PM1的Tray
This commit is contained in:
HCL 2023-08-09 14:33:17 +08:00
parent dfecc3496b
commit b3e5c201bf
1 changed files with 14 additions and 0 deletions

View File

@ -1036,6 +1036,20 @@ namespace SicRT.Modules
return Result.FAIL;
}
//Buffer第一层不能有PM2的Tray
if(_buffer.HasTray(0) && _buffer.GetWaferInfo(0).TrayOriginSlot % 2 == 1)
{
EV.PostWarningLog("Scheduler", "the one floor in buffer has PM2's tray!can not start job!");
return Result.FAIL;
}
//Buffer第二层不能有PM1的Tray
if (_buffer.HasTray(1) && _buffer.GetWaferInfo(1).TrayOriginSlot % 2 == 0)
{
EV.PostWarningLog("Scheduler", "the two floor in buffer has PM1's tray!can not start job!");
return Result.FAIL;
}
return Result.RUN;
}