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 TestObject() { _BarrierHeight.Value = null; _BarrierWidth.Value = null; _ClassOfTestObject.Value = null; _CodeOfTestObject.Value = null; _Comment1.Value = null; _Comment2.Value = null; _Comment3.Value = null; _DriverPositionObject.Value = null; _ExcitationWarmupMS.Value = null; _ImpactSideTestObject.Value = null; _Location.Value = null; _MassOfTestObject.Value = null; _NameOfTestObject.Value = null; _NumberOfLoadCells.Value = null; _Offset.Value = null; _OriginX.Value = null; _OriginY.Value = null; _OriginZ.Value = null; _ReferenceSystem.Value = null; _RefNumberOfTestObject.Value = null; _SerialNumber.Value = null; _TargetSampleRate.Value = null; //_TypeOfTestObject.Value = null; _Velocity.Value = null; _Version.Value = "1.0.0.0"; _YawAngle.Value = null; } public string BarrierHeight { get { return _BarrierHeight.Value; } set { _BarrierHeight.Value = value; } } private Property _BarrierHeight = new Property(typeof(TestObject).Namespace + ".TestObject.BarrierHeight", "", false); public string BarrierWidth { get { return _BarrierWidth.Value; } set { _BarrierWidth.Value = value; } } private Property _BarrierWidth = new Property(typeof(TestObject).Namespace + ".TestObject.BarrierWidth", "", false); public List Channels { get { return _Channels.Value; } set { _Channels.Value = value; } } private Property> _Channels = new Property>(typeof(TestObject).Namespace + "TestObject.Channels", new List(), true); public string ClassOfTestObject { get { return _ClassOfTestObject.Value; } set { _ClassOfTestObject.Value = value; } } private Property _ClassOfTestObject = new Property(typeof(TestObject).Namespace + ".TestObject.ClassOfTestObject", "", false); public string CodeOfTestObject { get { return _CodeOfTestObject.Value; } set { _CodeOfTestObject.Value = value; } } private Property _CodeOfTestObject = new Property(typeof(TestObject).Namespace + ".TestObject.CodeOfTestObject", "", false); public string Comment1 { get { return _Comment1.Value; } set { _Comment1.Value = value; } } private Property _Comment1 = new Property(typeof(TestObject).Namespace + ".TestObject.Comment1", "", false); public string Comment2 { get { return _Comment2.Value; } set { _Comment2.Value = value; } } private Property _Comment2 = new Property(typeof(TestObject).Namespace + ".TestObject.Comment2", "", false); public string Comment3 { get { return _Comment3.Value; } set { _Comment3.Value = value; } } private Property _Comment3 = new Property(typeof(TestObject).Namespace + ".TestObject.Comment3", "", false); public List DASHardwares { get { return _DASHardwares.Value; } set { _DASHardwares.Value = value; } } private Property> _DASHardwares = new Property>(typeof(TestObject).Namespace + "TestObject.DASHardwares", new List(), true); public string DriverPositionObject { get { return _DriverPositionObject.Value; } set { _DriverPositionObject.Value = value; } } private Property _DriverPositionObject = new Property(typeof(TestObject).Namespace + ".TestObject.DriverPositionObject", "", false); public string ExcitationWarmupMS { get { return _ExcitationWarmupMS.Value; } set { _ExcitationWarmupMS.Value = value; } } private Property _ExcitationWarmupMS = new Property(typeof(TestObject).Namespace + ".TestObject.ExcitationWarmupMS", "", false); public string ImpactSideTestObject { get { return _ImpactSideTestObject.Value; } set { _ImpactSideTestObject.Value = value; } } private Property _ImpactSideTestObject = new Property(typeof(TestObject).Namespace + ".TestObject.ImpactSideTestObject", "", false); public string Location { get { return _Location.Value; } set { _Location.Value = value; } } private Property _Location = new Property(typeof(TestObject).Namespace + ".TestObject.Location", "", false); public string MassOfTestObject { get { return _MassOfTestObject.Value; } set { _MassOfTestObject.Value = value; } } private Property _MassOfTestObject = new Property(typeof(TestObject).Namespace + ".TestObject.MassOfTestObject", "", false); public string NameOfTestObject { get { return _NameOfTestObject.Value; } set { _NameOfTestObject.Value = value; } } private Property _NameOfTestObject = new Property(typeof(TestObject).Namespace + ".TestObject.NameOfTestObject", "", false); public string NumberOfLoadCells { get { return _NumberOfLoadCells.Value; } set { _NumberOfLoadCells.Value = value; } } private Property _NumberOfLoadCells = new Property(typeof(TestObject).Namespace + ".TestObject.NumberOfLoadCells", "", false); public string Offset { get { return _Offset.Value; } set { _Offset.Value = value; } } private Property _Offset = new Property(typeof(TestObject).Namespace + ".TestObject.Offset", "", false); public string OriginX { get { return _OriginX.Value; } set { _OriginX.Value = value; } } private Property _OriginX = new Property(typeof(TestObject).Namespace + ".TestObject.OriginX", "", false); public string OriginY { get { return _OriginY.Value; } set { _OriginY.Value = value; } } private Property _OriginY = new Property(typeof(TestObject).Namespace + ".TestObject.OriginY", "", false); public string OriginZ { get { return _OriginZ.Value; } set { _OriginZ.Value = value; } } private Property _OriginZ = new Property(typeof(TestObject).Namespace + ".TestObject.OriginZ", "", false); public string ReferenceSystem { get { return _ReferenceSystem.Value; } set { _ReferenceSystem.Value = value; } } private Property _ReferenceSystem = new Property(typeof(TestObject).Namespace + ".TestObject.ReferenceSystem", "", false); public string RefNumberOfTestObject { get { return _RefNumberOfTestObject.Value; } set { _RefNumberOfTestObject.Value = value; } } private Property _RefNumberOfTestObject = new Property(typeof(TestObject).Namespace + ".TestObject.RefNumberOfTestObject", "", false); public string SerialNumber { get { return _SerialNumber.Value; } set { _SerialNumber.Value = value; } } private Property _SerialNumber = new Property(typeof(TestObject).Namespace + ".TestObject.SerialNumber", "", false); public string TargetSampleRate { get { return _TargetSampleRate.Value; } set { _TargetSampleRate.Value = value; } } private Property _TargetSampleRate = new Property(typeof(TestObject).Namespace + ".TestObject.TargetSampleRate", "", false); //public string TypeOfTestObject //{ // get { return _TypeOfTestObject.Value; } // set { _TypeOfTestObject.Value = value; } //} //private Property _TypeOfTestObject // = new Property(typeof(TestObject).Namespace + ".TestObject.TypeOfTestObject", "", false); public string Velocity { get { return _Velocity.Value; } set { _Velocity.Value = value; } } private Property _Velocity = new Property(typeof(TestObject).Namespace + ".TestObject.Velocity", "", false); public string Version { get { return _Version.Value; } set { _Version.Value = value; } } private Property _Version = new Property(typeof(TestObject).Namespace + ".TestObject.Version", "", false); public string YawAngle { get { return _YawAngle.Value; } set { _YawAngle.Value = value; } } private Property _YawAngle = new Property(typeof(TestObject).Namespace + ".TestObject.YawAngle", "", false); } } }