tbf/TestBenchFramework/BenchControl/TestMethods/FixedStartAdvanced/TestMethodCfg.cs

35 lines
821 B
C#
Raw Normal View History

2015-10-05 08:11:59 +00:00
///
/// Copyright (c) 2015-2016 Sensus Metering Systems
2015-10-05 08:11:59 +00:00
///
using System;
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
using TBF.BenchControl.Generic;
namespace TBF.BenchControl.TestMethods.FixedStartAdvanced
{
public class TestMethodCfg : ComponentCfgBase, Generic.IComponentCfg
{
public IComponentCfgCtrl GetControl() { return new TestMethodCfgCtrl(); }
/// Private parameterless constructor invoked by all other (public) constructors
TestMethodCfg()
{
Name = "FixedStartAdvanced";
ParentName = string.Empty;
}
public TestMethodCfg(IComponentFactory factory)
: this()
{
this.Factory = factory;
}
public string ToString(int i)
{
return string.Format("Name={0}", Name);
}
}
}