TestMethods.OuterLoop.Start/End UI changes, ver. 2.12.414

This commit is contained in:
Milan Hanajik
2016-12-10 16:27:51 +01:00
parent 8b4890560e
commit c8c411aebc
13 changed files with 52 additions and 473 deletions
@@ -487,7 +487,10 @@ namespace TBF.BenchControl.Sequences
/// Try to fetch all test paths and transitions
/// to detect configuration errors as early as possible.
string errorMsg;
if (!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
TBF.BenchControl.Generic.IComponent testMethod = TbfComponents.FindComponent(test.Method);
if (!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.Start.Component) &&
!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.End.Component) &&
!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
out inPath, out benchPath, out outPath, out sensPath,
out heatMetersPath,
out transitionBefore, out transitionAfter,
@@ -508,7 +511,10 @@ namespace TBF.BenchControl.Sequences
/// Fetch the test paths and transitions
string errorMsg;
if (!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
TBF.BenchControl.Generic.IComponent testMethod = TbfComponents.FindComponent(test.Method);
if (!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.Start.Component) &&
!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.End.Component) &&
!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
out inPath, out benchPath, out outPath, out sensPath,
out heatMetersPath,
out transitionBefore, out transitionAfter,
@@ -624,7 +630,10 @@ namespace TBF.BenchControl.Sequences
/// Try to fetch all test paths and transitions
/// to detect configuration errors as early as possible.
string errorMsg;
if (!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
TBF.BenchControl.Generic.IComponent testMethod = TbfComponents.FindComponent(test.Method);
if (!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.Start.Component) &&
!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.End.Component) &&
!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
out inPath, out benchPath, out outPath, out sensPath,
out heatMetersPath,
out transitionBefore, out transitionAfter,
@@ -645,7 +654,10 @@ namespace TBF.BenchControl.Sequences
/// Fetch the test paths and transitions
string errorMsg;
if (!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
TBF.BenchControl.Generic.IComponent testMethod = TbfComponents.FindComponent(test.Method);
if (!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.Start.Component) &&
!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.End.Component) &&
!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
out inPath, out benchPath, out outPath, out sensPath,
out heatMetersPath,
out transitionBefore, out transitionAfter,
@@ -739,7 +751,10 @@ namespace TBF.BenchControl.Sequences
/// Fetch the test paths and transitions
string errorMsg;
if (!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
TBF.BenchControl.Generic.IComponent testMethod = TbfComponents.FindComponent(test.Method);
if (!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.Start.Component) &&
!(testMethod is TBF.BenchControl.TestMethods.OuterLoop.End.Component) &&
!StateMachine.GetPaths(test, (StateMachine.Procedure.MetersKind == MetersKind.HeatMeter),
out inPath, out benchPath, out outPath, out sensPath,
out heatMetersPath,
out transitionBefore, out transitionAfter,