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