using DTS.Common.Utilities; using DTS.Common.Utilities.DotNetProgrammingConstructs; namespace DTS.Serialization { //[Serializable] public partial class TestSetup : Exceptional { public partial class Sensor : Exceptional { public Sensor() { _filterClass.Value = null; _name.Value = null; _polarity.Value = null; _position.Value = null; _range.Value = null; _version.Value = "1.0.0.0"; } public string FilterClass { get => _filterClass.Value; set => _filterClass.Value = value; } private readonly Property _filterClass = new Property(typeof(Graph).Namespace + ".Sensor.FilterClass", "", false); public string Name { get => _name.Value; set => _name.Value = value; } private readonly Property _name = new Property(typeof(Graph).Namespace + ".Sensor.Name", "", false); public string Polarity { get => _polarity.Value; set => _polarity.Value = value; } private readonly Property _polarity = new Property(typeof(Graph).Namespace + ".Sensor.Polarity", "", false); public string Position { get => _position.Value; set => _position.Value = value; } private readonly Property _position = new Property(typeof(Graph).Namespace + ".Sensor.Position", "", false); public string Range { get => _range.Value; set => _range.Value = value; } private readonly Property _range = new Property(typeof(Graph).Namespace + ".Sensor.Range", "", false); public string Version { get => _version.Value; set => _version.Value = value; } private readonly Property _version = new Property(typeof(Graph).Namespace + ".Sensor.Version", "", false); } } }