19 lines
525 B
C#
19 lines
525 B
C#
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.Elde.Valve
|
|
{
|
|
public class ValveFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "Valve"; } }
|
|
|
|
public void ResetStaticProperties() { Valve.ResetStaticProperties(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new ValveCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(ValveCfg), component, this);
|
|
}
|
|
}
|
|
}
|