tbf/TestBenchFramework/BenchControl/Network/Camera/Display/DisplayCfg.cs

35 lines
707 B
C#

///
/// Copyright (c) 2017 Sensus Metering Systems
///
using System.Xml.Serialization;
using Config.Entities;
using TBF.BenchControl.Generic;
namespace TBF.BenchControl.Network.Camera.Display
{
public class DisplayCfg : ComponentCfgBase, IComponentCfg
{
public IComponentCfgCtrl GetControl() { return new DisplayCfgCtrl(); }
///
/// Serialized parameters
///
/// Private parameterless constructor invoked by all other (public) constructors
DisplayCfg() {}
public DisplayCfg(string name, IComponentFactory factory)
: this()
{
Name = name;
Factory = factory;
}
public string ToString(int i)
{
return string.Format("Name={0}", Name);
}
}
}