WaterMeters folder created, WaterMeter component relocated within the project, iPerl component added WaterMeters.iPerl implements IRegisterReader interface, TODO: Implement WaterMeter.ReadPulses( ) function iPerlAdjustment test method added
24 lines
645 B
C#
24 lines
645 B
C#
///
|
|
/// Copyright (c) 2015 Sensus Metering Systems
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.Modbus.QuidoRS
|
|
{
|
|
public class Factory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "QuidoRS"; } }
|
|
|
|
public void ResetStaticProperties() { QuidoRS.ResetStaticProperties(); }
|
|
|
|
public IComponent DummyComponent() { return new QuidoRS(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new QuidoRSCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(QuidoRSCfg), component, this);
|
|
}
|
|
}
|
|
}
|