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:
@@ -39,8 +39,25 @@ namespace TBF.BenchControl.Generic
|
||||
/// </summary>
|
||||
IList<Entities.MeasurementCorrection> Corrections { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new database entity 'Component' from the parameters
|
||||
/// </summary>
|
||||
TBF.Entities.Component CreateDbEntity();
|
||||
|
||||
///
|
||||
/// Procedure parameters provider support
|
||||
///
|
||||
IParamsProvider GetProcedureParams();
|
||||
void UpdateProcedureParams(Entities.Procedure procedure);
|
||||
IParamsProvider CreateProcedureParams(Entities.Procedure procedure);
|
||||
|
||||
///
|
||||
/// Test parameters provider support
|
||||
///
|
||||
IParamsProvider GetTestParams();
|
||||
void UpdateTestParams(Entities.Test test);
|
||||
IParamsProvider CreateTestParams(Entities.Test test);
|
||||
|
||||
string ToString(int i);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user