init
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using DTS.Common.Enums;
|
||||
|
||||
namespace DTS.Common.Constant.DASSpecific
|
||||
{
|
||||
#pragma warning disable S101 // Types should be named in PascalCase
|
||||
public static class SLICE6AIRTC
|
||||
#pragma warning restore S101 // Types should be named in PascalCase
|
||||
{
|
||||
public const int MIN_PROTOCOL_VER = 1;
|
||||
public const int ADC_SAMPLES_PER_PACKET_VER = 1;
|
||||
public const int ThermocouplersPerModule = 8;
|
||||
|
||||
public static bool IsStreamingProfileSupported(UDPStreamProfile profile, int protocolVersion)
|
||||
{
|
||||
switch (profile)
|
||||
{
|
||||
case UDPStreamProfile.CH10_ANALOG_2HDR:
|
||||
case UDPStreamProfile.CH10_PCM_STANDARD_2HDR:
|
||||
return true;
|
||||
default: return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user