31 lines
748 B
C#
31 lines
748 B
C#
using System;
|
|
using System.IO;
|
|
using System.Xml.Serialization;
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.Elde.FixedStartRegisterReader
|
|
{
|
|
public class RegisterReaderCfg : ComponentCfgBase, Generic.IChildComponentCfg
|
|
{
|
|
/// Parameterless constructor
|
|
public RegisterReaderCfg()
|
|
{
|
|
Name = "DummyRR";
|
|
ParentName = "CB";
|
|
}
|
|
|
|
public RegisterReaderCfg(IComponentFactory factory)
|
|
: this()
|
|
{
|
|
this.Factory = factory;
|
|
}
|
|
|
|
public string ToString(int i)
|
|
{
|
|
return string.Format("Name={0}, Parent={1}",
|
|
Name,
|
|
(string.IsNullOrEmpty(ParentName) ? "-" : ParentName));
|
|
}
|
|
}
|
|
}
|