88 lines
3.6 KiB
C#
88 lines
3.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using DTS.Utilities;
|
|
using DTS.Utilities.DotNetProgrammingConstructs;
|
|
|
|
namespace DTS.Serialization
|
|
{
|
|
public partial class TestSetup : Exceptional
|
|
{
|
|
public partial class TestObject : Exceptional
|
|
{
|
|
public partial class DASHardware : Exceptional
|
|
{
|
|
public partial class DASChannel : Exceptional
|
|
{
|
|
public DASChannel()
|
|
{
|
|
_Location.Value = null;
|
|
_MeasurementUnits.Value = null;
|
|
_Name.Value = null;
|
|
_NumberOfSamples.Value = null;
|
|
_SerialNumber.Value = null;
|
|
_Version.Value = "1.0.0.0";
|
|
}
|
|
|
|
public string Location
|
|
{
|
|
get { return _Location.Value; }
|
|
set { _Location.Value = value; }
|
|
}
|
|
private Property<string> _Location
|
|
= new Property<string>(typeof(DASHardware).Namespace + ".DASChannel.Location", "", false);
|
|
|
|
public string MeasurementUnits
|
|
{
|
|
get { return _MeasurementUnits.Value; }
|
|
set { _MeasurementUnits.Value = value; }
|
|
}
|
|
private Property<string> _MeasurementUnits
|
|
= new Property<string>(typeof(DASHardware).Namespace + ".DASChannel.MeasurementUnits", "", false);
|
|
|
|
public string Name
|
|
{
|
|
get { return _Name.Value; }
|
|
set { _Name.Value = value; }
|
|
}
|
|
private Property<string> _Name
|
|
= new Property<string>(typeof(DASHardware).Namespace + ".DASChannel.Name", "", false);
|
|
|
|
public string NumberOfSamples
|
|
{
|
|
get { return _NumberOfSamples.Value; }
|
|
set { _NumberOfSamples.Value = value; }
|
|
}
|
|
private Property<string> _NumberOfSamples
|
|
= new Property<string>(typeof(DASHardware).Namespace + ".DASChannel.NumberOfSamples", "", false);
|
|
|
|
public string SensorName
|
|
{
|
|
get { return _SensorName.Value; }
|
|
set { _SensorName.Value = value; }
|
|
}
|
|
private Property<string> _SensorName
|
|
= new Property<string>(typeof(DASHardware).Namespace + ".DASChannel.SensorName", "", false);
|
|
|
|
public string SerialNumber
|
|
{
|
|
get { return _SerialNumber.Value; }
|
|
set { _SerialNumber.Value = value; }
|
|
}
|
|
private Property<string> _SerialNumber
|
|
= new Property<string>(typeof(DASHardware).Namespace + ".DASChannel.SerialNumber", "", false);
|
|
|
|
public string Version
|
|
{
|
|
get { return _Version.Value; }
|
|
set { _Version.Value = value; }
|
|
}
|
|
private Property<string> _Version
|
|
= new Property<string>(typeof(DASHardware).Namespace + ".DASChannel.Version", "", false);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|