ErrorFlags STOP stops cycle

This commit is contained in:
Milan Hanajik
2021-06-28 13:56:26 +02:00
parent cd15ab2432
commit 2106e82ede
31 changed files with 175 additions and 61 deletions
+2 -2
View File
@@ -958,7 +958,7 @@ namespace TBF.Rig.Sequences
if (testMethod.DoTransitions() && !e.Contains(Event.RecoverableError))
{
if (currentTestFinished && !isLastRepetition)
if (currentTestFinished && !isLastRepetition && !e.Contains(Event.ErrorFlagsStop))
{
/// Make a transition between two test repetitions
rsltTransBetween = Transition(transitionBetween, TransitionContext.BetweenTests); /// Transition or SetRoute - start of test
@@ -989,7 +989,7 @@ namespace TBF.Rig.Sequences
{
goto config_error;
}
else if (rsltTransBefore == Event.UiCmdStop || e.Contains(Event.UiCmdStop) || e.Contains(Event.RecoverableError))
else if (rsltTransBefore == Event.UiCmdStop || e.Contains(Event.UiCmdStop) || e.Contains(Event.RecoverableError) || e.Contains(Event.ErrorFlagsStop))
{
goto stop_within_cycle;
}