25 lines
732 B
C#
25 lines
732 B
C#
///
|
|
/// Copyright (c) 2016 Sensus Metering Systems
|
|
///
|
|
using System;
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.Output.FileWriters.Enhanced
|
|
{
|
|
public class FactoryCompound : IComponentFactory
|
|
{
|
|
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } }
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|