diff --git a/Modules/Mainframe/PMs/RecipeExecutions/PostProcess.cs b/Modules/Mainframe/PMs/RecipeExecutions/PostProcess.cs index 92b1a142..75af6ba4 100644 --- a/Modules/Mainframe/PMs/RecipeExecutions/PostProcess.cs +++ b/Modules/Mainframe/PMs/RecipeExecutions/PostProcess.cs @@ -238,6 +238,8 @@ namespace SicModules.PMs.RecipeExecutions WaitRotationValve((int)RoutineStep.WaitRotation1, _rotationSpeed, true, _rotationSpeed / 2); Cleanup((int)RoutineStep.Cleanup); + + SetRoutinePostRuningDo(); } private void Cleanup(int stepId) @@ -247,8 +249,6 @@ namespace SicModules.PMs.RecipeExecutions //保存PostProcess结束的时间 SC.SetItemValue($"PM.{Module}.PostProcessEndTime",DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); - _pmInterLock.SetPMPostProcessRunning(false, out _); - return true; }); @@ -264,7 +264,12 @@ namespace SicModules.PMs.RecipeExecutions } } } - + + private void SetRoutinePostRuningDo() + { + _pmInterLock.SetPMPostProcessRunning(false, out _); + } + private void CheckRoutineTimeOut() { if (_routineTimeOut > 10)