22 lines
619 B
C#
22 lines
619 B
C#
///
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.Elde.FlowMeterTwins
|
|
{
|
|
public class FlowMeterFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "FlowMeterTwins"; } }
|
|
|
|
public void ResetStaticProperties() { FlowMeter.ResetStaticProperties(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new FlowMeterCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(FlowMeterCfg), component, this);
|
|
}
|
|
}
|
|
}
|