Files
DP44/Common/DTS.Common/.svn/pristine/7f/7fb40bfb557929e001bb044e76f5bbd6e7d5e2f0.svn-base
2026-04-17 14:55:32 -04:00

32 lines
1.0 KiB
Plaintext

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 DSPFilterRestriction
{
/// <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 DSPFilterRestriction()
{
DASType = string.Empty;
ProtocolVersion = -1;
}
public DSPFilterRestriction(string dasType, int protocolVersion)
{
DASType = dasType;
ProtocolVersion = protocolVersion;
}
}
}