24 lines
662 B
C#
24 lines
662 B
C#
///
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.ResultsPrinters.Basic
|
|
{
|
|
public class PrinterFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "BasicResultsPrinter"; } }
|
|
|
|
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
|
|
|
public IComponent DummyComponent() { return new Printer(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new PrinterCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(PrinterCfg), component, this);
|
|
}
|
|
}
|
|
}
|