Files

75 lines
2.5 KiB
C#
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTS.Utilities;
using DTS.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 { return _FilterClass.Value; }
set { _FilterClass.Value = value; }
}
private Property<string> _FilterClass
= new Property<string>(typeof(Graph).Namespace + ".Sensor.FilterClass", "", false);
public string Name
{
get { return _Name.Value; }
set { _Name.Value = value; }
}
private Property<string> _Name
= new Property<string>(typeof(Graph).Namespace + ".Sensor.Name", "", false);
public string Polarity
{
get { return _Polarity.Value; }
set { _Polarity.Value = value; }
}
private Property<string> _Polarity
= new Property<string>(typeof(Graph).Namespace + ".Sensor.Polarity", "", false);
public string Position
{
get { return _Position.Value; }
set { _Position.Value = value; }
}
private Property<string> _Position
= new Property<string>(typeof(Graph).Namespace + ".Sensor.Position", "", false);
public string Range
{
get { return _Range.Value; }
set { _Range.Value = value; }
}
private Property<string> _Range
= new Property<string>(typeof(Graph).Namespace + ".Sensor.Range", "", false);
public string Version
{
get { return _Version.Value; }
set { _Version.Value = value; }
}
private Property<string> _Version
= new Property<string>(typeof(Graph).Namespace + ".Sensor.Version", "", false);
}
}
}