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