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