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