27 lines
868 B
C#
27 lines
868 B
C#
///
|
|
/// Copyright (c) 2013-2016 Sensus Metering Systems
|
|
///
|
|
using System.Collections.Generic;
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.Elde.PressureMeter
|
|
{
|
|
public class PressureMeterFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "PressureMeter"; } }
|
|
|
|
public void ResetStaticProperties() { PressureMeter.ResetStaticProperties(); }
|
|
|
|
public IComponent DummyComponent() { return new PressureMeter(); }
|
|
|
|
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new PressureMeter(cfg, components); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new PressureMeterCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(PressureMeterCfg), component, this);
|
|
}
|
|
}
|
|
}
|