From 5507a65170cfd037defdb42cb23f73be0045c63a Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Fri, 16 Apr 2021 17:17:25 +0200 Subject: [PATCH] 3s between test start and route change, ver. 3.1.1628 --- TBF/Properties/AssemblyInfo.cs | 4 ++-- .../StandingStartMassCollectionSeq.cs | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/TBF/Properties/AssemblyInfo.cs b/TBF/Properties/AssemblyInfo.cs index 5846a8d14..f08a24ca1 100644 --- a/TBF/Properties/AssemblyInfo.cs +++ b/TBF/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("3.1.1627.0")] -[assembly: AssemblyFileVersion("3.1.1627.0")] +[assembly: AssemblyVersion("3.1.1628.0")] +[assembly: AssemblyFileVersion("3.1.1628.0")] diff --git a/TBF/Rig/TestMethods/StandingStartMassCollection/StandingStartMassCollectionSeq.cs b/TBF/Rig/TestMethods/StandingStartMassCollection/StandingStartMassCollectionSeq.cs index a8fc73eaf..f47442fc3 100644 --- a/TBF/Rig/TestMethods/StandingStartMassCollection/StandingStartMassCollectionSeq.cs +++ b/TBF/Rig/TestMethods/StandingStartMassCollection/StandingStartMassCollectionSeq.cs @@ -462,9 +462,12 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollection .AddOperations(readTempPressOps) .AddOperation(testInProgress) .EnterState(); - e = StateMachine.WaitRunDevsRunOps(); - if (e.Contains(Event.Error)) { retVal = Event.Error; goto stopTest; } - if (TestAndLogUiCmdStop(test, e)) { retVal = Event.UiCmdStop; goto stopTest; } + for (int i = 0; i < 3; i++) + { + e = StateMachine.WaitRunDevsRunOps(); + if (e.Contains(Event.Error)) { retVal = Event.Error; goto stopTest; } + if (TestAndLogUiCmdStop(test, e)) { retVal = Event.UiCmdStop; goto stopTest; } + } State.Create(string.Format("{0}({1}) : Close the start/stop valve before measuring the start mass", test.Method, test.Name)) .AddOperation(checkUiOp)