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