22 lines
612 B
C#
22 lines
612 B
C#
///
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.ResultsWriters.Basic
|
|
{
|
|
public class WriterFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "BasicResultsWriter"; } }
|
|
|
|
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new WriterCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(WriterCfg), component, this);
|
|
}
|
|
}
|
|
}
|