/// /// Copyright (c) 2015 Sensus Metering Systems /// Author: Milan Hanajík /// using TBF.BenchControl.Generic; namespace TBF.BenchControl.TestMethods.iPerlCommunication { public class TestMethodFactory : IComponentFactory { public string ClassName { get { return "iPerlCommunication"; } } 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); } } }