tbf/TestBenchFramework/BenchControl/Modbus/QuidoRS/Factory.cs
Milan Hanajik f2da177517 Modbus and QuidoRS components added
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
2015-07-31 19:18:56 +02:00

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);
}
}
}