From 3025bd336655a14ca4b61e7d391a5299d44f28c6 Mon Sep 17 00:00:00 2001 From: HCL <1625932291@qq.com> Date: Mon, 12 Aug 2024 09:06:38 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=AD=A3PM=20PostProcess=E5=85=B3?= =?UTF-8?q?=E9=97=ADDO-PostProcessRunning=E5=AF=BC=E8=87=B4Warning?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Modules/Mainframe/PMs/RecipeExecutions/PostProcess.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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)