/// /// Copyright (c) 2017 Sensus Metering Systems /// using System; using System.Collections.Generic; using System.IO; using System.Xml.Serialization; using TBF.BenchControl.Generic; using TBF.Resources; namespace TBF.BenchControl.TestMethods.LiveStream { public class Cfg : ComponentCfgBase, Generic.IComponentCfg { public IComponentCfgCtrl GetControl() { return new CfgCtrl(); } public bool HiResolution; /// Private parameterless constructor invoked by all other (public) constructors Cfg() {} public Cfg(IComponentFactory factory, string name) : this() { this.Factory = factory; Name = name; ParentName = string.Empty; HiResolution = false; } public string ToString(int i) { return string.Format("Name={0}, HiResolution={1}", Name, HiResolution ? Strings.yes : Strings.no); } } }