init
This commit is contained in:
31
Common/DTS.Common/Classes/DSP/DASRestriction.cs
Normal file
31
Common/DTS.Common/Classes/DSP/DASRestriction.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
namespace DTS.Common.Classes.DSP
|
||||
{
|
||||
/// <summary>
|
||||
/// this is a restriction on who can use this filter
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Minor Code Smell", "S101:Types should be named in PascalCase", Justification = "Acronym")]
|
||||
public class DASRestriction
|
||||
{
|
||||
/// <summary>
|
||||
/// the Hardware_Type string value for the das (e.g. SLICE6_AIR, etc)
|
||||
/// empty string means all das
|
||||
/// </summary>
|
||||
public string DASType { get; set; }
|
||||
/// <summary>
|
||||
/// the protocol version for that das (<=0 means all protocol versions will work)
|
||||
/// </summary>
|
||||
public int ProtocolVersion { get; set; }
|
||||
|
||||
public DASRestriction()
|
||||
{
|
||||
DASType = string.Empty;
|
||||
ProtocolVersion = -1;
|
||||
}
|
||||
|
||||
public DASRestriction(string dasType, int protocolVersion)
|
||||
{
|
||||
DASType = dasType;
|
||||
ProtocolVersion = protocolVersion;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user