|
@@ -70,11 +70,11 @@ namespace JetEfemLib.LPs
|
|
|
|
|
|
public RState Monitor()
|
|
|
{
|
|
|
- Runner.Run(RoutineStep.Clamp, Clamp, CheckDevice, _timeout * 1000)
|
|
|
- //.Run(RoutineStep.Dock, Dock, CheckDevice, _timeout *1000)
|
|
|
- .Run(RoutineStep.OpenDoor, OpenDoor, CheckDevice, _timeout * 1000)
|
|
|
- .Run(RoutineStep.GetWaferInfo, QueryMapInfo, CheckDevice, _timeout * 1000)
|
|
|
- .End(RoutineStep.QueryStatus2, QueryStatus, CheckDevice, _timeout * 1000);
|
|
|
+ Runner.Run(RoutineStep.Clamp, Clamp, CheckDevice, _timeout * 1000)
|
|
|
+ //.Run(RoutineStep.Dock, Dock, CheckDevice, _timeout *1000)
|
|
|
+ .Run(RoutineStep.OpenDoor, OpenDoor, CheckOpenDoor, _timeout * 1000)
|
|
|
+ .Run(RoutineStep.GetWaferInfo, QueryMapInfo, CheckDevice, _timeout * 1000)
|
|
|
+ .End(RoutineStep.QueryStatus2, QueryStatus, CheckDevice, _timeout * 1000);
|
|
|
return Runner.Status;
|
|
|
}
|
|
|
|
|
@@ -101,7 +101,7 @@ namespace JetEfemLib.LPs
|
|
|
|
|
|
bool CheckDevice()
|
|
|
{
|
|
|
- return !(_lpModule.LPDevice.Error || _lpModule.LPDevice.IsBusy || _lpModule.LPDevice.DoorState != FoupDoorState.Open);
|
|
|
+ return !(_lpModule.LPDevice.Error || _lpModule.LPDevice.IsBusy);
|
|
|
}
|
|
|
|
|
|
bool OpenDoor()
|
|
@@ -115,6 +115,11 @@ namespace JetEfemLib.LPs
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
+ bool CheckOpenDoor()
|
|
|
+ {
|
|
|
+ return !(_lpModule.LPDevice.Error || _lpModule.LPDevice.IsBusy || _lpModule.LPDevice.DoorState != FoupDoorState.Open);
|
|
|
+ }
|
|
|
+
|
|
|
bool QueryMapInfo()
|
|
|
{
|
|
|
Notify($"Start to get wafer info {_lpModule.LPDevice.Name}");
|