2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using TBF.BenchControl.Generic;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.Elde.FlowMeter
|
|
|
|
|
|
{
|
|
|
|
|
|
public class FlowMeterFactory : IComponentFactory
|
|
|
|
|
|
{
|
|
|
|
|
|
public string ClassName { get { return "FlowMeter"; } }
|
|
|
|
|
|
|
2015-01-02 18:14:19 +00:00
|
|
|
|
public void ResetStaticProperties() { FlowMeter.ResetStaticProperties(); }
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
2015-01-02 18:14:19 +00:00
|
|
|
|
public IComponentCfg DefaultConfig() { return new FlowMeterCfg(this); }
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
2015-01-02 18:14:19 +00:00
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
2014-07-28 07:54:35 +00:00
|
|
|
|
{
|
2015-01-02 18:14:19 +00:00
|
|
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(FlowMeterCfg), component, this);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|