Everything works OK after serious changes:
- all components, componentCfg-s and parameter providers use base classes - less boilerplate code, simpler access to test/procedure parameters from code - CreateTestParams(test), CreateProcedureParams(procedure) methods added - TestBenchSim class is made static, it is not inheritted by any device anymore
This commit is contained in:
@@ -31,15 +31,6 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
||||
return ComponentCfgBase.CreateFromDbEntity(typeof(TestMethodCfg), component, this);
|
||||
}
|
||||
|
||||
public bool HasProcedureParams { get { return false; } }
|
||||
public IParamsProvider GetProcedureParams(Entities.ComponentProcedure procedureParams) { return null; }
|
||||
|
||||
public bool HasTestParams { get { return true; } }
|
||||
public IParamsProvider GetTestParams(Entities.ComponentTest testParams)
|
||||
{
|
||||
return CombinedWithDetTestParams.GetTestParams(testParams);
|
||||
}
|
||||
|
||||
public void ResetStaticProperties() { TestMethod.ResetStaticProperties(); }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user