using DTS.Common.DataModel; using DTS.Common.ISO; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DataPROWin7.DataModel { /// /// This is a container for all of the Dynamic Groups of a given type (Vehicle 1, Vehicle 2, Sled, etc.) /// public class SysBuiltObjectType { public SysBuiltObjectType(string testObjectType) { _testObject = testObjectType; } private string _testObject = "?"; public MMETestObjects TestObject { get { return ApplicationProperties.IsoDb.GetTestObjectByIso(_testObject); } set { if (value != null) { _testObject = value.Test_Object; } } } public string ISOTestObjectType { get { return TestObject.Text_L1; } } public override string ToString() { return TestObject.Text_L1; } } }