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