2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using TBF.BenchControl.Generic;
|
2015-02-16 12:36:22 +00:00
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.Danfoss.VLT2800
|
|
|
|
|
|
{
|
|
|
|
|
|
public class PumpFactory : IComponentFactory
|
|
|
|
|
|
{
|
|
|
|
|
|
public string ClassName { get { return "Pump-Danfoss-VLT2800"; } }
|
|
|
|
|
|
|
|
|
|
|
|
public void ResetStaticProperties() { Pump.ResetStaticProperties(); }
|
|
|
|
|
|
|
2015-06-29 09:14:33 +00:00
|
|
|
|
public IComponent DummyComponent() { return new Pump(); }
|
|
|
|
|
|
|
2015-02-16 12:36:22 +00:00
|
|
|
|
public IComponentCfg DefaultConfig() { return new PumpCfg(this); }
|
|
|
|
|
|
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
2015-02-16 12:36:22 +00:00
|
|
|
|
{
|
|
|
|
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(PumpCfg), component, this);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|