ProcedureParams initialization/constructors modified. ProcedureParamsBase modified.
This commit is contained in:
+5
@@ -102,6 +102,11 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection.Compound
|
||||
{
|
||||
}
|
||||
|
||||
public CombinedTestParams(bool initialize)
|
||||
{
|
||||
if (initialize) InitializeAll();
|
||||
}
|
||||
|
||||
public CombinedTestParams(ComponentTest testParamsEntity, string componentName, Test test)
|
||||
{
|
||||
this.testParamsEntity = testParamsEntity;
|
||||
|
||||
+2
-2
@@ -20,7 +20,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection.Compound
|
||||
public override IParamsProvider GetTestParams() { return TestParams; }
|
||||
public override IParamsProvider CreateTestParams(Test test)
|
||||
{
|
||||
CombinedTestParams testParams = new CombinedTestParams();
|
||||
CombinedTestParams testParams = new CombinedTestParams(true);
|
||||
testParams.UpdateTestParams(Name, test);
|
||||
return testParams;
|
||||
}
|
||||
@@ -28,7 +28,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection.Compound
|
||||
/// Private parameterless constructor invoked by all other (public) constructors
|
||||
TestMethodCfg()
|
||||
{
|
||||
TestParams = new CombinedTestParams();
|
||||
TestParams = new CombinedTestParams(true);
|
||||
}
|
||||
|
||||
public TestMethodCfg(string name, IComponentFactory factory)
|
||||
|
||||
+2
-2
@@ -20,7 +20,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection.HeatMeters
|
||||
public override IParamsProvider GetTestParams() { return TestParams; }
|
||||
public override IParamsProvider CreateTestParams(Test test)
|
||||
{
|
||||
TestParams testParams = new TestParams();
|
||||
TestParams testParams = new TestParams(true);
|
||||
testParams.UpdateTestParams(Name, test);
|
||||
return testParams;
|
||||
}
|
||||
@@ -28,7 +28,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection.HeatMeters
|
||||
/// Private parameterless constructor invoked by all other (public) constructors
|
||||
TestMethodCfg()
|
||||
{
|
||||
TestParams = new TestParams();
|
||||
TestParams = new TestParams(true);
|
||||
}
|
||||
|
||||
public TestMethodCfg(string name, IComponentFactory factory)
|
||||
|
||||
+5
@@ -180,6 +180,11 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection.HeatMeters
|
||||
{
|
||||
}
|
||||
|
||||
public TestParams(bool initialize)
|
||||
{
|
||||
if (initialize) InitializeAll();
|
||||
}
|
||||
|
||||
public TestParams(ComponentTest testParamsEntity, string componentName, Test test)
|
||||
{
|
||||
this.testParamsEntity = testParamsEntity;
|
||||
|
||||
Reference in New Issue
Block a user