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

81 lines
4.5 KiB
Markdown

---
source_files:
- Common/DTS.Common.Serialization/IRIGCH10/TMATS/DataConversion/DataConversionSection.cs
- Common/DTS.Common.Serialization/IRIGCH10/TMATS/DataConversion/TelemetrySection.cs
- Common/DTS.Common.Serialization/IRIGCH10/TMATS/DataConversion/CoefficientSection.cs
- Common/DTS.Common.Serialization/IRIGCH10/TMATS/DataConversion/Measurand.cs
- Common/DTS.Common.Serialization/IRIGCH10/TMATS/DataConversion/OtherInformationSection.cs
- Common/DTS.Common.Serialization/IRIGCH10/TMATS/DataConversion/TransducerInformation.cs
generated_at: "2026-04-17T15:35:23.451592+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "f25d8d008b57c725"
---
# TMATS Data Conversion Module Documentation
## 1. Purpose
This module implements the Data Conversion section of TMATS (Telemetry Attributes Transfer Standard) packets for IRIG Ch10 data serialization. It provides strongly-typed classes and enumerations for defining measurement metadata including conversion types, telemetry formats, calibration coefficients, measurand descriptions, alert/warning limits, and transducer information. Each section class maps enum-backed attributes to their TMATS-compliant string representations via `Description` attributes.
---
## 2. Public Interface
### `DataConversionSection` (class)
**Namespace:** `DTS.Serialization.IRIGCH10.Attributes`
**Inherits:** `TMATSSection<DataConversionAttributes>`
| Member | Signature | Description |
|--------|-----------|-------------|
| Constructor | `DataConversionSection(int number)` | Initializes with `AttributeIdentifiers.DataConversionAttributes` and section number |
| `SetConversionType` | `void SetConversionType(ConversionTypes type)` | Sets the DCT attribute using the `Description` value of the provided `ConversionTypes` enum |
**Related Enums:**
- `DataConversionAttributes`: Contains `ConversionType` (Description: "DCT")
- `ConversionTypes`: `None`, `PairSets`, `Coefficients`, `CoefficientsNegative`, `Derived`, `Discrete`, `PCMTime`, `Time1553`, `DigitalVoice`, `DigitalVideo`, `SpecializedProcessing`, `Other`
---
### `TelemetrySection` (class)
**Namespace:** `DTS.Serialization.IRIGCH10.TMATS.DataConversion`
**Inherits:** `TMATSSection<TelemetryAttributes>`
| Member | Signature | Description |
|--------|-----------|-------------|
| Constructor | `TelemetrySection(int number)` | Initializes with `AttributeIdentifiers.DataConversionAttributes` and section number |
| `SetBinaryFormat` | `void SetBinaryFormat(BinaryFormats format)` | Sets the BFM attribute using the `Description` value of the provided `BinaryFormats` enum |
**Related Enums:**
- `TelemetryAttributes`: Contains `BinaryFormat` (Description: "BFM", MaxLength: 3)
- `BinaryFormats`: `Integer`, `UnsignedBinary`, `SignAndMagnitudeSig`, `SignAndMagnitudeSim`, `OnesCompliment`, `TwosCompliment`, `OffsetBinary`, `FloatingPoint`, `BinaryCodedDecimal`, `BitWeight`, `Other`
---
### `CoefficientSection` (class)
**Namespace:** `DTS.Serialization.IRIGCH10.TMATS.DataConversion`
**Inherits:** `TMATSSection<CoefficientsAttributes>`
| Member | Signature | Description |
|--------|-----------|-------------|
| Constructor | `CoefficientSection(int number)` | Initializes with `AttributeIdentifiers.DataConversionAttributes` and section number |
| `OrderOfCurveFit` | `int?` (property) | Gets/sets the polynomial curve fit order (attribute "CO\\N") |
| `Coefficient0` | `string` (property) | Gets/sets the zero-order term/offset (attribute "CO") |
| `Coefficient1` | `string` (property) | Gets/sets the first-order coefficient (attribute "CO-1") |
**Related Enum:**
- `CoefficientsAttributes`: `OrderOfCurveFit` ("CO\\N"), `DerivedFromPairSet` ("CO1"), `Coefficient0` ("CO"), `Coefficient1` through `Coefficient7` ("CO-1" through "CO-7")
---
### `MeasurandSection` (class)
**Namespace:** `DTS.Serialization.IRIGCH10.TMATS.DataConversion`
**Inherits:** `TMATSSection<MeasurandAttributes>`
| Member | Signature | Description |
|--------|-----------|-------------|
| Constructor | `MeasurandSection(int number)` | Initializes with `AttributeIdentifiers.DataConversionAttributes` and section number |
| `Description` | `string` (property) | Gets/sets parameter description (attribute "MN1", MaxLength: 64) |
| `MeasurementAlias` | `string` (property) | Gets/sets alternate measurand name (attribute "MNA", MaxLength: 32) |
| `ExcitationVoltage` | `string` (property) | Gets/sets sensor reference voltage in volts (attribute "MN2", MaxLength: 10) |
| `EngineeringUnits` | `string` (property) | Gets/sets engineering units (attribute