155 lines
12 KiB
Markdown
155 lines
12 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/TDAS.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICE.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/PowerPRO.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICE2_TOM.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICEDB.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICE2.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICE1_5.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICE6DB.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICE6.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICE6AIRBR.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICE6AIRTC.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SliceProDB.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/TSRAIR.cs
|
||
|
|
- Common/DTS.Common/Constant/DASSpecific/SLICE6AIR.cs
|
||
|
|
generated_at: "2026-04-17T15:30:30.128940+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "76ddf4c169177787"
|
||
|
|
---
|
||
|
|
|
||
|
|
# DAS-Specific Constants Module Documentation
|
||
|
|
|
||
|
|
## 1. Purpose
|
||
|
|
|
||
|
|
This module provides hardware-specific constants and capability detection logic for various Data Acquisition System (DAS) devices within the DTS ecosystem. Each class encapsulates the unique characteristics of a specific DAS model—including maximum anti-aliasing filter rates, protocol version thresholds for feature enablement, and runtime capability queries for recording modes, streaming profiles, and clock synchronization options. This abstraction allows higher-level code to query device capabilities without hardcoding hardware-specific logic throughout the codebase.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 2. Public Interface
|
||
|
|
|
||
|
|
### TDAS
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MaxAAFilterRateHz` | `public const uint` | Maximum anti-aliasing filter rate: **4300 Hz** |
|
||
|
|
|
||
|
|
### SLICE
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MaxAAFilterRateHz` | `public const uint` | Maximum anti-aliasing filter rate: **30000 Hz** |
|
||
|
|
|
||
|
|
### PowerPRO
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MaxAAFilterRateHz` | `public const uint` | Maximum anti-aliasing filter rate: **20000 Hz** |
|
||
|
|
| `MIN_PROTOCOL_VER` | `public const byte` | Minimum protocol version: **1** |
|
||
|
|
| `DIAGNOS_SHUNT_DAC` | `public const byte` | Protocol version for shunt DAC diagnostics: **2** |
|
||
|
|
| `MIN_PROTOCOL_QUERYMACTABLE` | `public const byte` | Protocol version for MAC table queries: **9** |
|
||
|
|
| `MIN_PROTOCOL_MEASUREPOWERPROALLDIAGNOSTICCHANNEL` | `public const byte` | Protocol version for measuring all diagnostic channels: **12** |
|
||
|
|
|
||
|
|
### SLICE2_TOM
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `IsRecordingModeSupported` | `public static bool IsRecordingModeSupported(RecordingModes mode, int protocolVersion)` | Returns `true` for `CircularBuffer`, `MultipleEventCircularBuffer`, `Recorder`, `MultipleEventRecorder`, `HybridRecorder`, `MultipleEventHybridRecorder`, `ContinuousRecorder`; `false` for all others. Note: `protocolVersion` parameter is accepted but not used in logic. |
|
||
|
|
|
||
|
|
### SLICEDB
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MaxAAFilterRateHz` | `public const uint` | Maximum anti-aliasing filter rate: **200000 Hz** |
|
||
|
|
| `MIN_PROTOCOL_VER` | `public const byte` | Minimum protocol version: **1** |
|
||
|
|
| `MIN_PROTOCOL_ARM` | `public const byte` | Protocol version for arm functionality: **2** |
|
||
|
|
| `MIN_PROTOCOL_ENABLEFAULTCHECKING` | `public const byte` | Alias for `MIN_PROTOCOL_ARM`: **2** |
|
||
|
|
| `MIN_PROTOCOL_DIAGNOSTICS` | `public const byte` | Protocol version for diagnostics: **3** |
|
||
|
|
| `MIN_PROTOCOL_ONOVERRIDE` | `public const byte` | Protocol version for ON override: **4** |
|
||
|
|
| `MIN_PROTOCOL_OMAP_GPIO` | `public const byte` | Alias for `MIN_PROTOCOL_ONOVERRIDE`: **4** |
|
||
|
|
| `MIN_PROTOCOL_INITHARDWAREINPUTLINES` | `public const byte` | Alias for `MIN_PROTOCOL_ONOVERRIDE`: **4** |
|
||
|
|
| `MIN_PROTOCOL_BASECALDATE` | `public const byte` | Protocol version for ECM Caldate support: **5** |
|
||
|
|
| `MIN_PROTOCOL_QUERYMACTABLE` | `public const byte` | Protocol version for MAC table queries: **9** |
|
||
|
|
| `MIN_PROTOCOL_TILT` | `public const byte` | Protocol version for tilt support: **14** |
|
||
|
|
|
||
|
|
### SLICE2
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MaxAAFilterRateHz` | `public const uint` | Maximum anti-aliasing filter rate: **200000 Hz** |
|
||
|
|
| `SLICE1_5_BASETYPE` | `public const int` | Base type identifier: **2** |
|
||
|
|
| `SLICEPRO_DIM_BASETYPE` | `public const int` | Base type identifier: **3** |
|
||
|
|
| `SLICEPRO_TOM_BASETYPE` | `public const int` | Base type identifier: **5** |
|
||
|
|
| `MIN_PROTOCOL_VER` | `public const byte` | Minimum protocol version: **128** |
|
||
|
|
| `FILE_DATA` | `public const int` | Protocol feature constant: **133** |
|
||
|
|
| `MULTIPLE_EVENTS` | `public const int` | Protocol feature constant: **134** |
|
||
|
|
| `STACK_SENSORS` | `public const int` | Protocol feature constant: **136** |
|
||
|
|
| `STACK_FIRMWARE_UPDATE` | `public const int` | Protocol feature constant: **137** |
|
||
|
|
| `DIAGNOSTIC_TWO_VOLT_EXCITATION` | `public const int` | Protocol feature constant: **138** |
|
||
|
|
| `QUERY_ARM_AND_TRIGGER_STATUS_TIME_LEFT_IN_ARM` | `public const int` | Protocol feature constant: **139** |
|
||
|
|
| `MIN_PROTOCOL_VER_GEN3` | `public const byte` | Gen3 minimum protocol version: **140** |
|
||
|
|
| `SLICE2_ONE_WIRE_ID` | `public const int` | Protocol feature constant: **142** |
|
||
|
|
| `EVENT_ARM_ATTEMPTS` | `public const int` | Protocol feature constant: **145** |
|
||
|
|
| `MEASURE_INTERNAL_OFFSET` | `public const int` | Protocol feature constant: **149** |
|
||
|
|
| `START_REC_DELAY_IN_SECONDS` | `public const int` | Protocol feature constant: **150** |
|
||
|
|
| `START_REALTIME_STREAM` | `public const int` | Protocol feature constant: **152** |
|
||
|
|
| `HALF_BRIDGE_SIG_PLUS_SUPPORT` | `public const int` | Protocol feature constant: **154** |
|
||
|
|
|
||
|
|
### SLICE1_5
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MaxAAFilterRateHz` | `public const uint` | Maximum anti-aliasing filter rate: **40000 Hz** |
|
||
|
|
| `MIN_PROTOCOL_VER` | `public const byte` | Minimum protocol version: **1** |
|
||
|
|
| `QUERY_ARM_AND_TRIGGER_STATUS_TIME_LEFT_IN_ARM` | `public const int` | Protocol feature constant: **2** |
|
||
|
|
| `IGNORE_SHORTED_START_EVENT` | `public const int` | Protocol feature constant: **4** |
|
||
|
|
| `START_REC_DELAY_IN_SECOND` | `public const int` | Protocol feature constant: **5** |
|
||
|
|
| `MEASURE_INTERNAL_OFFSET` | `public const int` | Protocol feature constant: **6** |
|
||
|
|
| `START_REALTIME_STREAM` | `public const int` | Protocol feature constant: **7** |
|
||
|
|
| `BASE_PLUS_MIN_MULTIEVENT_HYBRID_PROTOCOL` | `public const int` | Protocol version for multi-event hybrid: **8** |
|
||
|
|
| `IsRecordingModeSupported` | `public static bool IsRecordingModeSupported(RecordingModes mode, int protocolVersion)` | Returns `true` for `CircularBuffer`, `Recorder`, `MultipleEventCircularBuffer`, `MultipleEventRecorder`, `HybridRecorder`, `ContinuousRecorder`. For `MultipleEventHybridRecorder`, requires `protocolVersion >= 8`. Returns `false` for all others. |
|
||
|
|
|
||
|
|
### SLICE6DB
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MaxAAFilterRateHz` | `public const uint` | Maximum anti-aliasing filter rate: **200000 Hz** |
|
||
|
|
| `MIN_PROTOCOL_VER` | `public const byte` | Minimum protocol version: **1** |
|
||
|
|
| `MIN_PROTOCOL_QUERYTEMPLOGFILE` | `public const byte` | Protocol version for temp log file queries: **8** |
|
||
|
|
| `MIN_PROTOCOL_QUERYMACTABLE` | `public const byte` | Protocol version for MAC table queries: **9** |
|
||
|
|
| `MIN_PROTOCOL_TILT` | `public const byte` | Protocol version for tilt support: **14** |
|
||
|
|
| `CLOCKSYNCPROFILE` | `public const int` | Protocol version for clock sync profiles: **18** |
|
||
|
|
| `PTP_DOMAIN_ID_VER` | `public const int` | Protocol version for PTP Domain ID: **18** |
|
||
|
|
| `IsClockSyncProfileSupported` | `public static bool IsClockSyncProfileSupported(ClockSyncProfile profile, int protocolVersion)` | Returns `true` for `None` always. For `Manual`, returns `true` only if `protocolVersion < 18`. For `Master_E2E` and `Slave_E2E`, returns `true` if `protocolVersion >= 18`. |
|
||
|
|
|
||
|
|
### SLICE6
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MaxAAFilterRateHz` | `public const uint` | Maximum anti-aliasing filter rate: **20000 Hz** |
|
||
|
|
| `MIN_PROTOCOL_VER` | `public const int` | Minimum protocol version: **1** |
|
||
|
|
| `DIAGNOS_SHUNT_DAC` | `public const int` | Protocol feature constant: **2** |
|
||
|
|
| `START_REC_DELAY_IN_SECONDS` | `public const int` | Protocol feature constant: **3** |
|
||
|
|
| `IN_SLICE_TILT_SENSOR_ADC_PRE` | `public const int` | Protocol feature constant: **4** |
|
||
|
|
| `STACK_SENSORS` | `public const int` | Protocol feature constant: **5** |
|
||
|
|
| `START_REALTIME_STREAM` | `public const int` | Protocol feature constant: **11** |
|
||
|
|
| `UDP_REALTIME_STREAM` | `public const int` | Protocol feature constant: **14** |
|
||
|
|
| `CLOCKSYNCPROFILE` | `public const int` | Protocol version for clock sync profiles: **21** |
|
||
|
|
| `PTP_DOMAIN_ID_VER` | `public const int` | Protocol version for PTP Domain ID: **21** |
|
||
|
|
| `IsRecordingModeSupported` | `public static bool IsRecordingModeSupported(RecordingModes mode, int protocolVersion)` | Returns `true` for `CircularBuffer`, `Recorder`, `MultipleEventCircularBuffer`, `MultipleEventRecorder`, `HybridRecorder`, `MultipleEventHybridRecorder`, `ContinuousRecorder`, `MultipleEventRAMActive`, `RAMActive`. Returns `false` for all others. |
|
||
|
|
| `IsStreamingProfileSupported` | `public static bool IsStreamingProfileSupported(UDPStreamProfile profile, int protocolVersion)` | Returns `true` only for `RTCStreaming` and `DTS_UDP`. Returns `false` for all others. |
|
||
|
|
| `IsClockSyncProfileSupported` | `public static bool IsClockSyncProfileSupported(ClockSyncProfile profile, int protocolVersion)` | Returns `true` for `None` always. For `Manual`, returns `true` if `protocolVersion > 1`. For `Slave_E2E`, returns `true` if `protocolVersion >= 21`. Returns `false` for all others. |
|
||
|
|
|
||
|
|
### SLICE6AIRBR
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MIN_PROTOCOL_VER` | `public const int` | Minimum protocol version: **1** |
|
||
|
|
| `ADC_SAMPLES_PER_PACKET_VER` | `public const int` | Protocol version for ADC samples per packet: **47** |
|
||
|
|
| `UDPALIGNONPPS_PROTOCOL` | `public const int` | Protocol version for UDP align on PPS: **51** |
|
||
|
|
| `MaxAAFilterRateHz` | `public const uint` | Maximum anti-aliasing filter rate: **50000 Hz** |
|
||
|
|
| `IsRecordingModeSupported` | `public static bool IsRecordingModeSupported(RecordingModes mode, int protocolVersion)` | Returns `true` for extensive list of modes including `CircularBuffer`, `Recorder`, `HybridRecorder`, `ContinuousRecorder`, `S6A_DeviceStreamingOnly`, `RAMActive`, `RecordOnBoot`, `HybridAndStream`, and their multiple-event variants. Returns `false` for others. |
|
||
|
|
| `IsStreamingProfileSupported` | `public static bool IsStreamingProfileSupported(UDPStreamProfile profile, int protocolVersion)` | Returns `true` for `RTCStreaming`, `DTS_UDP`, all `CH10_*` profiles, `TMNS_*` profiles, and `IENA_PTYPE_STREAM`. |
|
||
|
|
| `IsClockSyncProfileSupported` | `public static bool IsClockSyncProfileSupported(ClockSyncProfile profile, int protocolVersion)` | Returns `true` for `None`, `Master_E2E`, `Slave_E2E`. Returns `false` for all others. |
|
||
|
|
|
||
|
|
### SLICE6AIRTC
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `MIN_PROTOCOL_VER` | `public const int` | Minimum protocol version: **1** |
|
||
|
|
| `ADC_SAMPLES_PER_PACKET_VER` | `public const int` | Protocol version for ADC samples per packet: **1** |
|
||
|
|
| `MULTIPLE_CONFIGURATIONS_VER` | `public const int` | Protocol version for multiple configurations: **100** |
|
||
|
|
| `ThermocouplersPerModule` | `public const int` | Number of thermocouplers per module: **8** |
|
||
|
|
| `IsRecordingModeSupported` | `public static bool IsRecordingModeSupported(RecordingModes mode)` | Returns `true` only for `S6A_DeviceStreamingOnly`. Note: No protocol version parameter. |
|
||
|
|
|
|