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:
@@ -8,8 +8,8 @@ namespace TBF.BenchControl.Elde
|
||||
{
|
||||
public int ComPortNr;
|
||||
|
||||
/// Parameterless constructor
|
||||
public ControlBoardCfg()
|
||||
/// Private parameterless constructor invoked by all other (public) constructors
|
||||
ControlBoardCfg()
|
||||
{
|
||||
Name = "CB";
|
||||
ParentName = string.Empty;
|
||||
@@ -24,7 +24,7 @@ namespace TBF.BenchControl.Elde
|
||||
|
||||
public string ToString(int i)
|
||||
{
|
||||
return string.Format("Name={0}, ComPortNr={1}", Name, ComPortNr);
|
||||
return string.Format("Name={0}, Com{1}", Name, ComPortNr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user