优化PM发生Alarm时调用AbortRoutine()方法的位置。
This commit is contained in:
parent
e961eb9715
commit
ed53c7797e
|
@ -836,6 +836,7 @@ namespace SicModules.PMs
|
|||
|
||||
private bool FsmEnterError(object[] param)
|
||||
{
|
||||
AbortRoutine();
|
||||
InvokeOnEnterError(Module);
|
||||
if (IsOnline)
|
||||
{
|
||||
|
@ -1364,7 +1365,6 @@ namespace SicModules.PMs
|
|||
return false;
|
||||
}
|
||||
|
||||
AbortRoutine();
|
||||
StopRamp();
|
||||
_pmInterLock.SetPMProcessRunning(false, out string reason);
|
||||
_pmInterLock.SetPMPreProcessRunning(false, out reason);
|
||||
|
|
Loading…
Reference in New Issue