- 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
29 lines
636 B
C#
29 lines
636 B
C#
using System;
|
|
using System.IO;
|
|
using System.Xml.Serialization;
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.ResultsPrinters.Basic
|
|
{
|
|
public class PrinterCfg : ComponentCfgBase, Generic.IComponentCfg
|
|
{
|
|
/// Private parameterless constructor invoked by all other (public) constructors
|
|
PrinterCfg()
|
|
{
|
|
Name = "BasicResultsPrinter";
|
|
ParentName = string.Empty;
|
|
}
|
|
|
|
public PrinterCfg(IComponentFactory factory)
|
|
: this()
|
|
{
|
|
this.Factory = factory;
|
|
}
|
|
|
|
public string ToString(int i)
|
|
{
|
|
return string.Format("Name={0}", Name);
|
|
}
|
|
}
|
|
}
|