Files
DP44/Common/DTS.Common.Serialization/.svn/pristine/b0/b030ce822591e3721eeab93c79b7c2b62b823e12.svn-base

55 lines
2.1 KiB
Plaintext
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
using System.Collections.Generic;
using DTS.Common.Utilities;
using DTS.Common.Utilities.DotNetProgrammingConstructs;
namespace DTS.Serialization
{
public partial class TestSetup : Exceptional
{
public partial class TestObject : Exceptional
{
public partial class DASHardware : Exceptional
{
public DASHardware()
{
_sampleRate.Value = null;
_serialNumber.Value = null;
_version.Value = "1.0.0.0";
}
public List<DASChannel> DASChannels
{
get => _dasChannels.Value;
set => _dasChannels.Value = value;
}
private readonly Property<List<DASChannel>> _dasChannels
= new Property<List<DASChannel>>(typeof(TestObject).Namespace + "DASHardware.DASChannels", new List<DASChannel>(), true);
public string SampleRate
{
get => _sampleRate.Value;
set => _sampleRate.Value = value;
}
private readonly Property<string> _sampleRate
= new Property<string>(typeof(TestObject).Namespace + ".DASHardware.SampleRate", "", false);
public string SerialNumber
{
get => _serialNumber.Value;
set => _serialNumber.Value = value;
}
private readonly Property<string> _serialNumber
= new Property<string>(typeof(TestObject).Namespace + ".DASHardware.SerialNumber", "", false);
public string Version
{
get => _version.Value;
set => _version.Value = value;
}
private readonly Property<string> _version
= new Property<string>(typeof(TestObject).Namespace + ".DASHardware.Version", "", false);
}
}
}
}