22 lines
603 B
C#
22 lines
603 B
C#
///
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.Elde.Diverter
|
|
{
|
|
public class DiverterFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "Diverter"; } }
|
|
|
|
public void ResetStaticProperties() { Diverter.ResetStaticProperties(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new DiverterCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(DiverterCfg), component, this);
|
|
}
|
|
}
|
|
}
|