This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,113 @@
---
source_files:
- Common/DTS.CommonCore/Constant/DASSpecific/TDAS.cs
- Common/DTS.CommonCore/Constant/DASSpecific/SLICE.cs
- Common/DTS.CommonCore/Constant/DASSpecific/PowerPRO.cs
- Common/DTS.CommonCore/Constant/DASSpecific/SLICE2_TOM.cs
- Common/DTS.CommonCore/Constant/DASSpecific/SLICEDB.cs
- Common/DTS.CommonCore/Constant/DASSpecific/SLICE2.cs
- Common/DTS.CommonCore/Constant/DASSpecific/SLICE1_5.cs
- Common/DTS.CommonCore/Constant/DASSpecific/SLICE6DB.cs
- Common/DTS.CommonCore/Constant/DASSpecific/SLICE6AIRBR.cs
- Common/DTS.CommonCore/Constant/DASSpecific/SLICE6.cs
- Common/DTS.CommonCore/Constant/DASSpecific/TSRAIR.cs
- Common/DTS.CommonCore/Constant/DASSpecific/SLICE6AIR.cs
generated_at: "2026-04-17T15:30:45.585201+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "0cfa9f366a8948ad"
---
# Documentation: DTS.Common.Constant.DASSpecific
## 1. Purpose
This module provides device-specific constants and capability validation logic for various Data Acquisition System (DAS) hardware types within the DTS ecosystem. Each class corresponds to a specific hardware variant (TDAS, SLICE, SLICE2, SLICE6, SLICE6AIR, TSRAIR, PowerPRO, etc.) and defines hardware limits such as maximum anti-aliasing filter rates, minimum firmware protocol versions required for specific features, and methods to query whether recording modes, streaming profiles, or clock synchronization profiles are supported given a particular protocol version. This module serves as the authoritative source for hardware capability boundaries and feature gating based on firmware versions.
---
## 2. Public Interface
### TDAS
- `public const uint MaxAAFilterRateHz = 4300` — Maximum anti-aliasing filter rate for TDAS hardware.
### SLICE
- `public const uint MaxAAFilterRateHz = 30000` — Maximum anti-aliasing filter rate for SLICE hardware.
### PowerPRO
- `public const uint MaxAAFilterRateHz = 20000` — Maximum anti-aliasing filter rate.
- `public const byte MIN_PROTOCOL_VER = 1` — Minimum supported protocol version.
- `public const byte DIAGNOS_SHUNT_DAC = 2` — Protocol version for shunt DAC diagnostics.
- `public const byte MIN_PROTOCOL_QUERYMACTABLE = 9` — Minimum protocol for MAC table queries (firmware B0H3).
- `public const byte MIN_PROTOCOL_MEASUREPOWERPROALLDIAGNOSTICCHANNEL = 12` — Minimum protocol for all diagnostic channel measurement.
### SLICE2_TOM
- `public static bool IsRecordingModeSupported(RecordingModes mode, int protocolVersion)` — Returns `true` for `CircularBuffer`, `MultipleEventCircularBuffer`, `Recorder`, `MultipleEventRecorder`, `HybridRecorder`, `MultipleEventHybridRecorder`, and `ContinuousRecorder`; `false` for all others. The `protocolVersion` parameter is accepted but not used in the logic.
### SLICEDB
- `public const uint MaxAAFilterRateHz = 200000` — Maximum anti-aliasing filter rate.
- `public const byte MIN_PROTOCOL_VER = 1`
- `public const byte MIN_PROTOCOL_ARM = 2`
- `public const byte MIN_PROTOCOL_ENABLEFAULTCHECKING = MIN_PROTOCOL_ARM`
- `public const byte MIN_PROTOCOL_DIAGNOSTICS = 3`
- `public const byte MIN_PROTOCOL_ONOVERRIDE = 4`
- `public const byte MIN_PROTOCOL_OMAP_GPIO = MIN_PROTOCOL_ONOVERRIDE`
- `public const byte MIN_PROTOCOL_INITHARDWAREINPUTLINES = MIN_PROTOCOL_ONOVERRIDE`
- `public const byte MIN_PROTOCOL_BASECALDATE = 5` — ECM Caldate support.
- `public const byte MIN_PROTOCOL_QUERYMACTABLE = 9` — MAC table query support (firmware B0H3).
- `public const byte MIN_PROTOCOL_TILT = 14`
### SLICE2
- `public const uint MaxAAFilterRateHz = 200000`
- `public const int SLICE1_5_BASETYPE = 2`
- `public const int SLICEPRO_DIM_BASETYPE = 3`
- `public const int SLICEPRO_TOM_BASETYPE = 5`
- `public const byte MIN_PROTOCOL_VER = 128`
- `public const int FILE_DATA = 133`
- `public const int MULTIPLE_EVENTS = 134`
- `public const int STACK_SENSORS = 136`
- `public const int STACK_FIRMWARE_UPDATE = 137`
- `public const int DIAGNOSTIC_TWO_VOLT_EXCITATION = 138`
- `public const int QUERY_ARM_AND_TRIGGER_STATUS_TIME_LEFT_IN_ARM = 139`
- `public const byte MIN_PROTOCOL_VER_GEN3 = 140`
- `public const int SLICE2_ONE_WIRE_ID = 142`
- `public const int EVENT_ARM_ATTEMPTS = 145`
- `public const int MEASURE_INTERNAL_OFFSET = 149`
- `public const int START_REC_DELAY_IN_SECONDS = 150`
- `public const int START_REALTIME_STREAM = 152`
- `public const int HALF_BRIDGE_SIG_PLUS_SUPPORT = 154`
### SLICE1_5
- `public const uint MaxAAFilterRateHz = 40000`
- `public const byte MIN_PROTOCOL_VER = 1`
- `public const int QUERY_ARM_AND_TRIGGER_STATUS_TIME_LEFT_IN_ARM = 2`
- `public const int IGNORE_SHORTED_START_EVENT = 4`
- `public const int START_REC_DELAY_IN_SECOND = 5`
- `public const int MEASURE_INTERNAL_OFFSET = 6`
- `public const int START_REALTIME_STREAM = 7`
- `public const int BASE_PLUS_MIN_MULTIEVENT_HYBRID_PROTOCOL = 8`
- `public static bool IsRecordingModeSupported(RecordingModes mode, int protocolVersion)` — Returns `true` for `CircularBuffer`, `Recorder`, `MultipleEventCircularBuffer`, `MultipleEventRecorder`, `HybridRecorder`, and `ContinuousRecorder` unconditionally. Returns `true` for `MultipleEventHybridRecorder` only if `protocolVersion >= BASE_PLUS_MIN_MULTIEVENT_HYBRID_PROTOCOL`. Returns `false` for all other modes.
### SLICE6DB
- `public const uint MaxAAFilterRateHz = 200000`
- `public const byte MIN_PROTOCOL_VER = 1`
- `public const byte MIN_PROTOCOL_QUERYTEMPLOGFILE = 8`
- `public const byte MIN_PROTOCOL_QUERYMACTABLE = 9` — Firmware B0H3.
- `public const byte MIN_PROTOCOL_TILT = 14`
- `public const int CLOCKSYNCPROFILE = 18`
- `public const int PTP_DOMAIN_ID_VER = 18` — PTP Domain ID support per case 30472.
- `public static bool IsClockSyncProfileSupported(ClockSyncProfile profile, int protocolVersion)` — Returns `true` for `None` always. Returns `true` for `Manual` only if `protocolVersion < CLOCKSYNCPROFILE`. Returns `true` for `Master_E2E` and `Slave_E2E` only if `protocolVersion >= CLOCKSYNCPROFILE`. Returns `false` for all others.
### SLICE6AIRBR
- `public const int MIN_PROTOCOL_VER = 1`
- `public const uint MaxAAFilterRateHz = 50000`
- `public static bool IsRecordingModeSupported(RecordingModes mode, int protocolVersion)` — Returns `true` for `CircularBuffer`, `Recorder`, `MultipleEventCircularBuffer`, `MultipleEventRecorder`, `HybridRecorder`, `MultipleEventHybridRecorder`, `ContinuousRecorder`, and `S6A_DeviceStreamingOnly`. Returns `false` for all others. `protocolVersion` is accepted but not used.
- `public static bool IsStreamingProfileSupported(UDPStreamProfile profile, int protocolVersion)` — Returns `true` for `RTCStreaming`, `DTS_UDP`, `CH10_MANUAL_CONFIG`, `CH10_PCM128_MM`, `CH10_ANALOG`, `CH10_PCM_STANDARD`, `CH10_PCM_SUPERCOM`, `CH10_PCM_128BIT_2HDR`, `CH10_ANALOG_2HDR`, `CH10_PCM_STANDARD_2HDR`, `CH10_PCM_SUPERCOM_2HDR`, `TMNS_PCM_STANDARD`, `TMNS_PCM_SUPERCOM`, and `IENA_PTYPE_STREAM`. Returns `false` for all others. `protocolVersion` is accepted but not used.
- `public static bool IsClockSyncProfileSupported(ClockSyncProfile profile, int protocolVersion)` — Returns `true` for `None`, `Master_E2E`, and `Slave_E2E`. Returns `false` for all others. `protocolVersion` is accepted but not used.
### SLICE6
- `public const uint MaxAAFilterRateHz = 20000`
- `public const int MIN_PROTOCOL_VER = 1`
- `public const int DIAGNOS_SHUNT_DAC = 2`
- `public const int START_REC_DELAY_IN_SECONDS = 3`
- `public const int IN_SLICE_TILT_SENSOR_ADC_PRE = 4