Files
DP44/Common/DTS.Common.Serialization/TestSetup/TestObject/Channel.cs

47 lines
1.6 KiB
C#
Raw Normal View History

2026-04-17 14:55:32 -04:00
using DTS.Common.Utilities;
using DTS.Common.Utilities.DotNetProgrammingConstructs;
namespace DTS.Serialization
{
//[Serializable]
public partial class TestSetup : Exceptional
{
public partial class TestObject : Exceptional
{
public partial class TOChannel : Exceptional
{
public TOChannel()
{
_name.Value = null;
_sensorName.Value = null;
_version.Value = "1.0.0.0";
}
public string Name
{
get => _name.Value;
set => _name.Value = value;
}
private readonly Property<string> _name
= new Property<string>(typeof(TOChannel).Namespace + ".Channel.Name", "", false);
public string SensorName
{
get => _sensorName.Value;
set => _sensorName.Value = value;
}
private readonly Property<string> _sensorName
= new Property<string>(typeof(TOChannel).Namespace + ".Channel.SensorName", "", false);
public string Version
{
get => _version.Value;
set => _version.Value = value;
}
private readonly Property<string> _version
= new Property<string>(typeof(TOChannel).Namespace + ".Channel.Version", "", false);
}
}
}
}