24 lines
699 B
C#
24 lines
699 B
C#
|
|
///
|
|||
|
|
/// Copyright (c) 2016 Sensus Metering Systems
|
|||
|
|
///
|
|||
|
|
using TBF.BenchControl.Generic;
|
|||
|
|
|
|||
|
|
namespace TBF.BenchControl.Keithley.TempMeter
|
|||
|
|
{
|
|||
|
|
public class Factory : IComponentFactory
|
|||
|
|
{
|
|||
|
|
public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
|
|||
|
|
|
|||
|
|
public void ResetStaticProperties() { TempMeter.ResetStaticProperties(); }
|
|||
|
|
|
|||
|
|
public IComponent DummyComponent() { return new TempMeter(); }
|
|||
|
|
|
|||
|
|
public IComponentCfg DefaultConfig() { return new TempMeterCfg(this); }
|
|||
|
|
|
|||
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
|||
|
|
{
|
|||
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(TempMeterCfg), component, this);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|