Stopping flow regulation after a test completes (in three test methods).

This commit is contained in:
Milan Hanajik
2019-04-25 11:00:34 +02:00
parent 24e23d01e8
commit 5dad80d031
8 changed files with 116 additions and 2 deletions
@@ -602,6 +602,18 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
StopRecordingStatistics();
State.Create(string.Format("{0}({1}) : Stopping flow regulation", test.Method, test.Name))
.AddOperation(checkUiOp)
.AddOperations(readTempPressOps)
.AddOperation(cBrd.StopFlowRegulationOp())
.EnterState();
do {
e = StateMachine.WaitRunDevsRunOps();
if (e.Contains(Event.Error)) { retVal = Event.Error; goto stopTest; }
if (TestAndLogUiCmdStop(test, e)) { retVal = Event.UiCmdStop; goto stopTest; }
}
while (!e.Contains(Event.FlowRegulationStopped));
///
/// (Berlin:) Water is stopped immediately after the test and before the 2nd mass measurement in case:
/// - no 'transition sequence after test' is used
@@ -610,7 +622,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
#if !CEVAK_200
if (isLastRepetition && transitionAfter == null)
#endif
{
{
if (inPath.Pump is GenericDevices.IPumpFM) (inPath.Pump as GenericDevices.IPumpFM).TurnOff();
State.Create("SequenceBase : Transition : TestEnd - Default action")