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:
@@ -5,8 +5,6 @@ namespace TBF.BenchControl.Generic
|
||||
public interface IComponentFactory
|
||||
{
|
||||
string ClassName { get; } /// Name of the class of components (for instance "Valve")
|
||||
bool HasProcedureParams { get; } /// true = create an entity with component specific procedure parameters
|
||||
bool HasTestParams { get; } /// true = create an entity with component specific test parameters
|
||||
|
||||
/// <summary>
|
||||
/// Max. number of components of this class in the system: 1, some integer value or int.MaxValue
|
||||
@@ -33,9 +31,6 @@ namespace TBF.BenchControl.Generic
|
||||
/// </summary>
|
||||
IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component);
|
||||
|
||||
IParamsProvider GetTestParams(Entities.ComponentTest testParams);
|
||||
IParamsProvider GetProcedureParams(Entities.ComponentProcedure procedureParams);
|
||||
|
||||
|
||||
void ResetStaticProperties();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user