FlyingStartMassCollectionSeq modified : Valves/pumps are closed immediately after the test only when there are no subsequent test repeats.

This commit is contained in:
Milan Hanajik
2017-02-21 10:45:26 +01:00
parent e7723c108d
commit 4515f0fc13
@@ -499,10 +499,6 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
while (!e.Contains(Event.MeasurementStarted));
foreach (var rr in sensPath.RegisterReaders)
{
}
foreach (var rr in sensPath.RegisterReaders)
{
if (rr is WaterMeters.iPerl.WaterMeter) (rr as WaterMeters.iPerl.WaterMeter).TestName = test.Name;
@@ -589,7 +585,12 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
test_completed:
if (transitionAfter == null)
///
/// Water is stopped immediately after the test and before the 2nd mass measurement in case;
/// - no 'transition sequence after test' is used
/// - this is the last (or the only) test repetition or test is a part of an 'outer loop'
///
if (transitionAfter == null && (outerLoopMode || repetitionNr == test.Repeats))
{
switch (Transition(transitionAfter, TransitionContext.AfterTest))
{