38 lines
1012 B
C#
38 lines
1012 B
C#
///
|
|
/// Copyright (c) 2017 Sensus Metering Systems
|
|
///
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Xml.Serialization;
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.TestMethods.RoiDetection
|
|
{
|
|
public class RoiDetectionCfg : ComponentCfgBase, Generic.IComponentCfg
|
|
{
|
|
public static XmlSerializer Serializer = XmlSerializer.FromTypes(new[] { typeof(RoiDetectionCfg) })[0];
|
|
public override XmlSerializer GetSerializer() { return Serializer; }
|
|
|
|
public IComponentCfgCtrl GetControl(IList<Config.Entities.Component> cmpntEntities) { return new RoiDetectionCfgCtrl(); }
|
|
|
|
/// Private parameterless constructor invoked by all other (public) constructors
|
|
RoiDetectionCfg()
|
|
{
|
|
}
|
|
|
|
public RoiDetectionCfg(IComponentFactory factory, string name)
|
|
: this()
|
|
{
|
|
Name = name;
|
|
ParentName = string.Empty;
|
|
this.Factory = factory;
|
|
}
|
|
|
|
public string ToString(int i)
|
|
{
|
|
return string.Format("Name={0}", Name);
|
|
}
|
|
}
|
|
}
|