Files
DP44/Common/DTS.Common.DataModel/SysBuiltObjectType.cs
2026-04-17 14:55:32 -04:00

44 lines
1.1 KiB
C#

using DTS.Common.DataModel;
using DTS.Common.ISO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DataPROWin7.DataModel
{
/// <summary>
/// This is a container for all of the Dynamic Groups of a given type (Vehicle 1, Vehicle 2, Sled, etc.)
/// </summary>
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;
}
}
}