修正TM Robot Tray在位检测异常时的输出信息。

This commit is contained in:
DESKTOP-GPE37UV\THINKAPD 2023-02-14 15:48:36 +08:00
parent 471f7a6fea
commit 92c626e673
1 changed files with 5 additions and 5 deletions

View File

@ -403,13 +403,13 @@ namespace Mainframe.TMs.Routines
{
if (!robot.IsWaferPresenceOnBlade1 && WaferManager.Instance.CheckHasTray(ModuleHelper.Converter(robot.Module), 0))
{
strMessage = "Robort sensor no wafer and UI have tray!";
strMessage = "TM Robot sensed no tray but UI has a tray, Please check and adjust the sensor!";
return false;
}
if (robot.IsWaferPresenceOnBlade1 && !WaferManager.Instance.CheckHasTray(ModuleHelper.Converter(robot.Module), 0))
{
strMessage = "Robort sensor have wafer and UI no tray!";
strMessage = "TM Robot sensed tray but UI has no tray, Please check and adjust the sensor!";
return false;
}
}
@ -418,13 +418,13 @@ namespace Mainframe.TMs.Routines
{
if (robot.IsWaferPresenceOnBlade2 && !WaferManager.Instance.CheckHasTray(ModuleHelper.Converter(robot.Module), 1))
{
EV.PostWarningLog(Module, "TM Robot sensor found wafer on blade 2");
EV.PostWarningLog(Module, "TM Robot sensed a tray on blade 2");
return false;
}
if (!robot.IsWaferPresenceOnBlade2 && !WaferManager.Instance.CheckHasTray(ModuleHelper.Converter(robot.Module), 1))
{
EV.PostWarningLog(Module, "TM Robot sensor no wafer on blade 2");
EV.PostWarningLog(Module, "TM Robot didn't sensed tray on blade 2");
return false;
}
}
@ -436,7 +436,7 @@ namespace Mainframe.TMs.Routines
{
if (ret.Item2 == Result.TIMEOUT)
{
Stop($"check wafer info failed." + strMessage);
Stop($"Checking tray presence signal failed." + strMessage);
throw (new RoutineFaildException());
}
else