1.修正PostProcess结束后DO-PostProcessRunning未设置false的问题

(cherry picked from commit bd951e3a67)
This commit is contained in:
HCL 2024-05-15 16:51:37 +08:00
parent 8df4e476eb
commit b4d823f844
2 changed files with 7 additions and 0 deletions

View File

@ -328,6 +328,7 @@ namespace SicModules.PMs
{ {
_pmInterLock.SetPMProcessRunning(false, out reason); _pmInterLock.SetPMProcessRunning(false, out reason);
_pmInterLock.SetPMPreProcessRunning(false, out reason); _pmInterLock.SetPMPreProcessRunning(false, out reason);
_pmInterLock.SetPMPostProcessRunning(false, out reason);
reason = string.Empty; reason = string.Empty;
StopRamp(); StopRamp();
SetRotationServo(0, 0); SetRotationServo(0, 0);
@ -1332,6 +1333,7 @@ namespace SicModules.PMs
{ {
_pmInterLock.SetPMProcessRunning(false, out string reason); _pmInterLock.SetPMProcessRunning(false, out string reason);
_pmInterLock.SetPMPreProcessRunning(false, out reason); _pmInterLock.SetPMPreProcessRunning(false, out reason);
_pmInterLock.SetPMPostProcessRunning(false, out reason);
return true; return true;
} }
@ -1389,6 +1391,7 @@ namespace SicModules.PMs
StopRamp(); StopRamp();
_pmInterLock.SetPMProcessRunning(false, out string reason); _pmInterLock.SetPMProcessRunning(false, out string reason);
_pmInterLock.SetPMPreProcessRunning(false, out reason); _pmInterLock.SetPMPreProcessRunning(false, out reason);
_pmInterLock.SetPMPostProcessRunning(false, out reason);
if (FsmState.Equals((int)STATE.Process)) if (FsmState.Equals((int)STATE.Process))
{ {
@ -1417,6 +1420,7 @@ namespace SicModules.PMs
StopRamp(); StopRamp();
_pmInterLock.SetPMProcessRunning(false, out string reason); _pmInterLock.SetPMProcessRunning(false, out string reason);
_pmInterLock.SetPMPreProcessRunning(false, out reason); _pmInterLock.SetPMPreProcessRunning(false, out reason);
_pmInterLock.SetPMPostProcessRunning(false, out reason);
} }
return true; return true;

View File

@ -237,6 +237,8 @@ namespace SicModules.PMs.RecipeExecutions
//保存PostProcess结束的时间 //保存PostProcess结束的时间
SC.SetItemValue($"PM.{Module}.PostProcessEndTime",DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); SC.SetItemValue($"PM.{Module}.PostProcessEndTime",DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
_pmInterLock.SetPMPostProcessRunning(false, out _);
return true; return true;
}); });
@ -271,6 +273,7 @@ namespace SicModules.PMs.RecipeExecutions
PmDevice.SetMfcStopRamp(PmDevice.GetMfcListByGroupName(MfcGroupName.All)); PmDevice.SetMfcStopRamp(PmDevice.GetMfcListByGroupName(MfcGroupName.All));
PmDevice.SetHeaterStopRamp(); PmDevice.SetHeaterStopRamp();
PmDevice.SetRotationStopRamp(); PmDevice.SetRotationStopRamp();
_pmInterLock.SetPMPostProcessRunning(false, out _);
base.Abort(); base.Abort();
} }