19 lines
560 B
C#
19 lines
560 B
C#
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 IComponentCfg DefaultConfig() { return new RegulValveCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(RegulValveCfg), component, this);
|
|
}
|
|
}
|
|
}
|