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