1.修改ProcessStates.Aborting位置

This commit is contained in:
HCL 2024-07-23 16:12:07 +08:00
parent 8dcccf75ae
commit 69f201109c
1 changed files with 3 additions and 2 deletions

View File

@ -878,8 +878,6 @@ namespace SicRT.Equipments.Systems
{
_auto.Clear();
_auto.Abort();
GemManager.Instance.Equipment?.SetProcessState(ProcessStates.Aborting);
}
foreach (var modulesValue in Modules.Values)
@ -889,6 +887,9 @@ namespace SicRT.Equipments.Systems
modulesValue.PostMsg(MSG.Abort);
}
}
GemManager.Instance.Equipment?.SetProcessState(ProcessStates.Aborting);
return true;
}