|
|
@@ -81,10 +81,21 @@ namespace PunkHPX8_RT.Schedulers.Srd
|
|
|
{
|
|
|
_isStartRunRecipe = _vpwEntity.State == (int)VPWCellState.RunReciping;
|
|
|
}
|
|
|
- if (_isStartRunRecipe && _vpwEntity.IsIdle)
|
|
|
+ if (_isStartRunRecipe)
|
|
|
{
|
|
|
- _state = RState.End;
|
|
|
- _isStartRunRecipe = false;
|
|
|
+ VpwMainEntity vpwMainEntity = Singleton<RouteManager>.Instance.GetModule<VpwMainEntity>(ModuleName.VPWMain1.ToString());
|
|
|
+ if (_vpwEntity.IsIdle)
|
|
|
+ {
|
|
|
+ if (vpwMainEntity.IsChamberClosed)
|
|
|
+ {
|
|
|
+ _vpwEntity.CheckToPostMessage<VPWCellState, VPWCellMsg>(eEvent.INFO_VPW, Module.ToString(), (int)VPWCellMsg.ChamberDown);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ _state = RState.End;
|
|
|
+ _isStartRunRecipe = false;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
return true;
|
|
|
}
|