24 lines
667 B
C#
24 lines
667 B
C#
///
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.BenchId
|
|
{
|
|
public class ComponentFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "Bench-ID"; } }
|
|
|
|
public void ResetStaticProperties() { Component.ResetStaticProperties(); }
|
|
|
|
public IComponent DummyComponent() { return new Component(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new ComponentCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(ComponentCfg), component, this);
|
|
}
|
|
}
|
|
}
|