/// /// Copyright (c) 2013-2016 Sensus Metering Systems /// using System; using TBF.BenchControl.Generic; namespace TBF.BenchControl.Output.FileWriters.Basic { public class FactorySingle : IComponentFactory { public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } } public void ResetStaticProperties() { Writer.ResetStaticProperties(); } public IComponent DummyComponent() { return new Writer(); } public IComponentCfg DefaultConfig() { return new WriterCfg(this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { return ComponentCfgBase.CreateFromDbEntity(typeof(WriterCfg), component, this); } } }