/// /// Copyright (c) 2013-2016 Sensus Metering Systems /// using System.Collections.Generic; using TBF.BenchControl.Generic; namespace TBF.BenchControl.Elde.Pump { public class PumpFactory : IComponentFactory { public string ClassName { get { return "Pump"; } } public void ResetStaticProperties() { Pump.ResetStaticProperties(); } public IComponent DummyComponent() { return new Pump(); } public IComponent GetComponent(IComponentCfg cfg, IList components) { return new Pump(cfg, components); } public IComponentCfg DefaultConfig() { return new PumpCfg(this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { return ComponentCfgBase.CreateFromDbEntity(typeof(PumpCfg), component, this); } } }