19 lines
543 B
C#
19 lines
543 B
C#
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);
|
|
}
|
|
}
|
|
}
|