2015-10-05 08:11:59 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2015 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using TBF.BenchControl.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.TestMethods.FixedStartAdvanced
|
|
|
|
|
|
{
|
|
|
|
|
|
public class TestMethodFactory : IComponentFactory
|
|
|
|
|
|
{
|
|
|
|
|
|
public string ClassName { get { return "FixedStartAdvanced"; } }
|
|
|
|
|
|
|
|
|
|
|
|
public void ResetStaticProperties() { TestMethod.ResetStaticProperties(); }
|
|
|
|
|
|
|
|
|
|
|
|
public IComponent DummyComponent() { return new TestMethod(); }
|
|
|
|
|
|
|
|
|
|
|
|
public IComponentCfg DefaultConfig() { return new TestMethodCfg(this); }
|
|
|
|
|
|
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
2015-10-05 08:11:59 +00:00
|
|
|
|
{
|
|
|
|
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(TestMethodCfg), component, this);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|