1.修正PM PostProcess关闭DO-PostProcessRunning导致Warning的问题
This commit is contained in:
parent
3a8656aa1a
commit
3025bd3366
|
@ -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;
|
||||
});
|
||||
|
||||
|
@ -265,6 +265,11 @@ namespace SicModules.PMs.RecipeExecutions
|
|||
}
|
||||
}
|
||||
|
||||
private void SetRoutinePostRuningDo()
|
||||
{
|
||||
_pmInterLock.SetPMPostProcessRunning(false, out _);
|
||||
}
|
||||
|
||||
private void CheckRoutineTimeOut()
|
||||
{
|
||||
if (_routineTimeOut > 10)
|
||||
|
|
Loading…
Reference in New Issue