2015-05-21 15:48:27 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2015 Sensus Metering Systems
|
|
|
|
|
|
/// Author: Milan Hanajik
|
|
|
|
|
|
///
|
|
|
|
|
|
using TBF.BenchControl.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.Elde.TempMeterInternal
|
|
|
|
|
|
{
|
|
|
|
|
|
public class TempMeterFactory : IComponentFactory
|
|
|
|
|
|
{
|
|
|
|
|
|
public string ClassName { get { return "TempMeterInternal"; } }
|
|
|
|
|
|
|
|
|
|
|
|
public void ResetStaticProperties() { TempMeter.ResetStaticProperties(); }
|
|
|
|
|
|
|
2015-06-29 09:14:33 +00:00
|
|
|
|
public IComponent DummyComponent() { return new TempMeter(); }
|
|
|
|
|
|
|
2015-05-21 15:48:27 +00:00
|
|
|
|
public IComponentCfg DefaultConfig() { return new TempMeterCfg(this); }
|
|
|
|
|
|
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
2015-05-21 15:48:27 +00:00
|
|
|
|
{
|
|
|
|
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(TempMeterCfg), component, this);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|