Files
DP44/docs/ai/Common/DTS.Common.Serialization/IRIGCH10/Enums.md
2026-04-17 14:55:32 -04:00

87 lines
3.5 KiB
Markdown

---
source_files:
- Common/DTS.Common.Serialization/IRIGCH10/Enums/Enums.cs
generated_at: "2026-04-17T15:43:02.181959+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "c232b0142638d2a2"
---
# Documentation: DTS.Serialization.IRIGCH10.Enums
## 1. Purpose
This module defines enumeration types for the IRIG 106 Chapter 10 data serialization system. It provides strongly-typed mappings between logical data type identifiers and their binary packet header representations used in flight data recording formats. The enums cover data file types, time sources, time formats, data type versions, secondary header time formats, and checksum types, all annotated with `PacketHeaderValue` attributes that specify the exact binary encoding for each value per the IRIG 106 standard.
---
## 2. Public Interface
### `DataFileDataTypes` (enum)
Defines all supported data type formats for IRIG 106 Chapter 10 packets. Each value is decorated with `[PacketHeaderValue(byte)]` and `[DataTypeVersionValue(byte)]` attributes.
**Notable defined values:**
| Value Name | Packet Header | Description |
|------------|---------------|-------------|
| `ComputerGeneratedDataFormat0` | 0x00 | User-Defined |
| `ComputerGeneratedDataFormat1` | 0x01 | Setup Record |
| `ComputerGeneratedDataFormat2` | 0x02 | Recording Events |
| `ComputerGeneratedDataFormat3` | 0x03 | Recording Index |
| `PCMDataFormat1` | 0x09 | Chapter 4 or 8 |
| `TimeDataFormat1` | 0x11 | RCC/Global Positioning System [GPS]/RTC |
| `MILSTD1553DataFormat1` | 0x19 | MIL-STD-1553B Data |
| `MILSTD1553DataFormat2` | 0x1A | 16PP194 Bus |
| `AnalogDataFormat1` | 0x21 | Analog Data |
| `DiscreteDataFormat1` | 0x29 | Discrete Data |
| `MessageDataFormat0` | 0x30 | Generic Message Data |
| `ARINC429DataFormat0` | 0x38 | ARINC-429 Data |
| `VideoDataFormat0` | 0x40 | MPEG-2/H.264 Video |
| `VideoDataFormat1` | 0x41 | ISO 13818-1 MPEG-2 |
| `VideoDataFormat2` | 0x42 | ISO 14496 MPEG-4 Part10 110 AVC/H.264 |
| `VideoDataFormat3` | 0x43 | MJPEG |
| `VideoDataFormat4` | 0x44 | MJPEG 2000 |
| `ImageDataFormat0` | 0x48 | Image Data |
| `ImageDataFormat1` | 0x49 | Still Imagery |
| `ImageDataFormat2` | 0x4A | Dynamic Imagery |
| `UARTDataFormat0` | 0x50 | UART Data |
| `IEEE1394DataFormat0` | 0x58 | IEEE 1394 Transaction |
| `IEEE1394DataFormat1` | 0x59 | IEEE 1394 Physical Layer |
| `ParallelDataFormat0` | 0x60 | Parallel Data |
| `EthernetDataFormat0` | 0x68 | Ethernet Data |
| `EthernetDataFormat1` | 0x69 | Ethernet UDP Payload |
| `TSPI_CTSDataFormat0` | 0x70 | GPS NMEA-RTCM |
| `TSPI_CTSDataFormat1` | 0x71 | EAG ACMI |
| `TSPI_CTSDataFormat2` | 0x72 | ACTTS |
| `ControllerAreaNetworkBus` | 0x78 | CAN Bus |
| `FibreChannelDataFormat0` | 0x79 | Fibre Channel Data |
Many additional values (Format0, Format2-Format7 variants for each category) are marked as "Reserved for future use."
---
### `TimeSource` (enum)
Defines the origin of time information in recordings.
| Value Name | Packet Header | Description |
|------------|---------------|-------------|
| `Internal` | 0x00 | Time derived from a clock in the recorder |
| `External` | 0x01 | Time derived from a clock not in the recorder |
| `InternalFromRMM` | 0x02 | Internal from RMM (Time derived from the clock in the RMM) |
| `None` | 0x0F | None |
---
### `TimeFormats` (enum)
Defines supported time encoding formats.
| Value Name | Packet Header | Description |
|------------|---------------|-------------|
| `IRIGB` | 0x00 | IRIG-B |
| `IRIGA` | 0x01 | IRIG-A |
| `IRIGG` | 0x02 | IRIG-G |
| `RTC` | 0x03 | Real-Time Clock |
| `UTC` | 0x04