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

29 lines
1011 B
C#

namespace DataPROWin7.DataModel
{
/// <summary>
/// we will want to remove or add hardware overriding what hardware would be in the test
/// based solely on groups in the test
/// this way we can have dasless groups
/// </summary>
public class HardwareInclusionInstruction
{
public string HardwareId { get; }
public enum Actions
{
Remove, //hardware may be included in test by a group, but ignore it and don't include the hardware...
Add //hardware is not included in test by a group, but add it anyhow
}
public Actions Action { get; }
public HardwareInclusionInstruction(string hardwareId, Actions action)
{
HardwareId = hardwareId;
Action = action;
}
public HardwareInclusionInstruction(HardwareInclusionInstruction copy)
{
HardwareId = copy.HardwareId;
Action = copy.Action;
}
}
}