init
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
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 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 { return _Name.Value; }
|
||||
set { _Name.Value = value; }
|
||||
}
|
||||
private Property<string> _Name
|
||||
= new Property<string>(typeof(TOChannel).Namespace + ".Channel.Name", "", false);
|
||||
|
||||
public string SensorName
|
||||
{
|
||||
get { return _SensorName.Value; }
|
||||
set { _SensorName.Value = value; }
|
||||
}
|
||||
private Property<string> _SensorName
|
||||
= new Property<string>(typeof(TOChannel).Namespace + ".Channel.SensorName", "", false);
|
||||
|
||||
public string Version
|
||||
{
|
||||
get { return _Version.Value; }
|
||||
set { _Version.Value = value; }
|
||||
}
|
||||
private Property<string> _Version
|
||||
= new Property<string>(typeof(TOChannel).Namespace + ".Channel.Version", "", false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user