25 lines
708 B
C#
25 lines
708 B
C#
///
|
|
/// Copyright (c) 2015 Sensus Metering Systems
|
|
/// Author: Milan Hanajík
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.WaterMeters.iPerl
|
|
{
|
|
public class WaterMeterFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "iPerl"; } }
|
|
|
|
public void ResetStaticProperties() { WaterMeter.ResetStaticProperties(); }
|
|
|
|
public IComponent DummyComponent() { return new WaterMeter(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new WaterMeterCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(WaterMeterCfg), component, this);
|
|
}
|
|
}
|
|
}
|