477 lines
16 KiB
Markdown
477 lines
16 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.CommonCore/Enums/IsoRestrictionLevels.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/GPSSentenceTypes.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/UartDataFormat.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/NetworkSelection.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/ScriptTypes.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/InitializationTypes.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/Strings.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/MigrationResult.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/SLICE6MulticastProperties.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/RibbonTabNames.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/IsoSupportLevels.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/ImportFormats.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/TabControlOperation.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/IncludeOverwriteName.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/RibbonControlOperation.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/UICultures.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/T0Mode.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/VelocityUnit.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/ImportStatus.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/IsoViewMode.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/PopupWindowImage.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/UIItemStatus.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/DigitalOutputs.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/DigitalInputs.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/DataFlag.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/Squibs.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/SupportedExportFormatBitFlags.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/UartBaudRate.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/EnumBindingSourceExtension.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/UDPStreamProfile.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/ExcitationVoltageOptions.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/RecordingModes.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/ApplicationStatusTypes.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/ExportHeaderLine.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/StreamDigitalFilterTypes.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/CFCFilter.cs
|
||
|
|
- Common/DTS.CommonCore/Enums/ClockSource.cs
|
||
|
|
generated_at: "2026-04-17T15:26:45.282462+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "9a7e9b192694200c"
|
||
|
|
---
|
||
|
|
|
||
|
|
# DTS.CommonCore.Enums Module Documentation
|
||
|
|
|
||
|
|
## 1. Purpose
|
||
|
|
|
||
|
|
This module provides a centralized collection of enumeration types, constants, and supporting utility classes used throughout the DTS (Data Translation System) codebase. It defines domain-specific types for hardware configuration (DAS/SLICE6 devices), data acquisition (channel modes, filters, clock sources), import/export operations, UI localization, and application state management. The enums serve as the canonical type definitions for cross-module communication and data serialization.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 2. Public Interface
|
||
|
|
|
||
|
|
### Enums
|
||
|
|
|
||
|
|
#### `GPSSentenceTypes`
|
||
|
|
```csharp
|
||
|
|
public enum GPSSentenceTypes { GPGGA, GPRMC }
|
||
|
|
```
|
||
|
|
Defines NMEA GPS sentence types for parsing GPS data.
|
||
|
|
|
||
|
|
#### `UartDataFormat`
|
||
|
|
```csharp
|
||
|
|
public enum UartDataFormat { Binary, PlainText, NMEA }
|
||
|
|
```
|
||
|
|
Specifies the format of UART data streams.
|
||
|
|
|
||
|
|
#### `NetworkSelection`
|
||
|
|
```csharp
|
||
|
|
public enum NetworkSelection { Default, NetworkId, NetworkDesc }
|
||
|
|
```
|
||
|
|
Defines network selection modes for device discovery/configuration.
|
||
|
|
|
||
|
|
#### `ScriptTypes`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum ScriptTypes { Migration, Initialization }
|
||
|
|
```
|
||
|
|
Categorizes script execution types. Uses `EnumDescriptionTypeConverter` for UI display.
|
||
|
|
|
||
|
|
#### `InitializationTypes`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum InitializationTypes { Aero, Crash, TSRAIR }
|
||
|
|
```
|
||
|
|
Defines initialization categories for test setups.
|
||
|
|
|
||
|
|
#### `StringReplacementMode`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum StringReplacementMode { All, First, Last }
|
||
|
|
```
|
||
|
|
Controls string replacement behavior in text operations.
|
||
|
|
|
||
|
|
#### `MigrationResult`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum MigrationResult { OK, ExceptionThrown, WarningAllowStreamingModesWasNotMigrated }
|
||
|
|
```
|
||
|
|
Indicates outcome of data migration operations.
|
||
|
|
|
||
|
|
#### `SLICE6Properties`
|
||
|
|
```csharp
|
||
|
|
public enum SLICE6Properties { SLICE6MulticastAddress, SLICE6MulticastCommandPort, SLICE6MulticastResponsePort }
|
||
|
|
```
|
||
|
|
Properties for SLICE6 UDP broadcast autodiscovery.
|
||
|
|
|
||
|
|
#### `IsoSupportLevels`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum IsoSupportLevels
|
||
|
|
{
|
||
|
|
[Description("ISO 13499")] ISO_ONLY,
|
||
|
|
[Description("User specified channel codes")] TRANSITORY,
|
||
|
|
[Description("No ISO")] NO_ISO
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Defines ISO 13499 compliance levels for channel coding.
|
||
|
|
|
||
|
|
#### `ImportFormats`
|
||
|
|
```csharp
|
||
|
|
public enum ImportFormats
|
||
|
|
{
|
||
|
|
NOT_SPECIFIED = 1, DTS_XML = 2, ISF = 3, TSF = 4, DTS_CSV = 5,
|
||
|
|
TTS_XML = 6, CrashDesigner_XML = 7, E2X = 8, TTS_CSV = 9
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Supported import file formats with explicit integer values.
|
||
|
|
|
||
|
|
#### `TabControlOperation` / `RibbonControlOperation`
|
||
|
|
```csharp
|
||
|
|
public enum TabControlOperation { AddedItem, RemovedItem }
|
||
|
|
public enum RibbonControlOperation { AddedItem, RemovedItem }
|
||
|
|
```
|
||
|
|
Track UI control modification operations. Note: `RibbonControlOperation` XML comment incorrectly references "TabControl".
|
||
|
|
|
||
|
|
#### `IncludeOverwriteName` / `ExportChoices`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum IncludeOverwriteName { IncludedCheckBox, OverwriteCheckBox, ImportingTestSetupName }
|
||
|
|
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum ExportChoices { ExportType, UnfilteredEUCheckBox, FilteredEUCheckBox, MVCheckBox, ADCCheckBox }
|
||
|
|
```
|
||
|
|
Define import/export UI selection options.
|
||
|
|
|
||
|
|
#### `UICultures`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum UICultures
|
||
|
|
{
|
||
|
|
[DescriptionResource("UICultures_de-DE")] de_DE,
|
||
|
|
[DescriptionResource("UICultures_en-US")] en_US,
|
||
|
|
[DescriptionResource("UICultures_es-ES")] es_ES,
|
||
|
|
[DescriptionResource("UICultures_fr-FR")] fr_FR,
|
||
|
|
[DescriptionResource("UICultures_it-IT")] it_IT,
|
||
|
|
[DescriptionResource("UICultures_ja-JP")] ja_JP
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Supported UI localization cultures using resource-based descriptions.
|
||
|
|
|
||
|
|
#### `T0Mode`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum T0Mode
|
||
|
|
{
|
||
|
|
[Description("DAS")] DAS = 0,
|
||
|
|
[Description("Test")] Test = 1
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Defines T0 (time zero) reference mode for data acquisition.
|
||
|
|
|
||
|
|
#### `VelocityUnit`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum VelocityUnit
|
||
|
|
{
|
||
|
|
[Description("EditTestSetupObjectMeta_VelocityUnit_KilometerPerHour")] KilometerPerHour = 0,
|
||
|
|
[Description("EditTestSetupObjectMeta_VelocityUnit_MeterPerSecond")] MeterPerSecond = 1
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Velocity measurement units with resource-key descriptions.
|
||
|
|
|
||
|
|
#### `ImportExtraStatus` / `PossibleStatus`
|
||
|
|
```csharp
|
||
|
|
public enum ImportExtraStatus { None, NormalizingIds, ReadingCalibrations, ReadingChannels, ReadingCustomerDetails, ReadingEngineerDetails, ReadingGroups, ReadingHardware, ReadingLabDetails, ReadingSensors, ReadingTestSetups, ReadingUsers, ReadingXML }
|
||
|
|
public enum PossibleStatus { Waiting, Working, Done, Failed, Reading, Importing }
|
||
|
|
```
|
||
|
|
Track import operation progress states.
|
||
|
|
|
||
|
|
#### `IsoViewMode`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum IsoViewMode
|
||
|
|
{
|
||
|
|
[Description("ISOOnly")] ISOOnly,
|
||
|
|
[Description("ISOAndUserCode")] ISOAndUserCode,
|
||
|
|
[Description("UserCodeOnly")] UserCodeOnly,
|
||
|
|
[Description("ChannelNameOnly")] ChannelNameOnly
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Controls channel identification display mode in UI.
|
||
|
|
|
||
|
|
#### `PopupWindowImage`
|
||
|
|
```csharp
|
||
|
|
public enum PopupWindowImage { Warning = 0, Error = 1, Question = 2, Information = 3 }
|
||
|
|
```
|
||
|
|
Defines popup dialog icon types.
|
||
|
|
|
||
|
|
#### `UIItemStatus`
|
||
|
|
```csharp
|
||
|
|
public enum UIItemStatus { None, Success, Failed, Error, Warning }
|
||
|
|
```
|
||
|
|
Represents UI operation result states.
|
||
|
|
|
||
|
|
#### `DigitalOutputModes`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum DigitalOutputModes
|
||
|
|
{
|
||
|
|
[Description("Off")] NONE = 0,
|
||
|
|
[DescriptionResource("DigitalOutputMode_FVLH")] FVLH = 1 << 0,
|
||
|
|
[DescriptionResource("DigitalOutputMode_FVHL")] FVHL = 1 << 1,
|
||
|
|
[DescriptionResource("DigitalOutputMode_CCNO")] CCNO = 1 << 2,
|
||
|
|
[DescriptionResource("DigitalOutputMode_CCNC")] CCNC = 1 << 3
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Bitwise flags for digital output channel configuration (5V transitions and contact closure modes).
|
||
|
|
|
||
|
|
#### `DigitalInputModes`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum DigitalInputModes
|
||
|
|
{
|
||
|
|
NONE = 1 << 0,
|
||
|
|
[DescriptionResource("DigitalInputMode_TLH")] TLH = 1 << 1,
|
||
|
|
[DescriptionResource("DigitalInputMode_THL")] THL = 1 << 2,
|
||
|
|
[DescriptionResource("DigitalInputMode_CCNO")] CCNO = 1 << 3,
|
||
|
|
[DescriptionResource("DigitalInputMode_CCNC")] CCNC = 1 << 4
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Bitwise flags for digital input channel configuration (transition detection and contact closure modes).
|
||
|
|
|
||
|
|
#### `DataFlag`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum DataFlag
|
||
|
|
{
|
||
|
|
[Description("None")] None = 0,
|
||
|
|
[Description("Normal")] Normal = 1,
|
||
|
|
[Description("Saturated")] Saturated = 2,
|
||
|
|
[Description("Zero Crossing Error")] ZeroCrossing = 3,
|
||
|
|
[Description("Broken Wire")] BrokenWire = 4,
|
||
|
|
[Description("Other")] Other = -1
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Data quality flags for channel samples. Note: `Other` has value -1.
|
||
|
|
|
||
|
|
#### `SquibMeasurementType` / `SquibFireMode`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum SquibMeasurementType { NONE = 0, CURRENT = 1 << 0, INIT_SIGNAL = 1 << 1, VOLTAGE = 1 << 2 }
|
||
|
|
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum SquibFireMode
|
||
|
|
{
|
||
|
|
NONE = 1 << 0,
|
||
|
|
[DescriptionResource("SquibFireMode_Cap")] CAP = 1 << 1,
|
||
|
|
[DescriptionResource("SquibFireMode_CC")] CONSTANT = 1 << 2,
|
||
|
|
AC = 1 << 3
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Bitwise flags for squib (explosive initiator) configuration.
|
||
|
|
|
||
|
|
#### `SupportedExportFormatBitFlags`
|
||
|
|
```csharp
|
||
|
|
[Flags]
|
||
|
|
public enum SupportedExportFormatBitFlags
|
||
|
|
{
|
||
|
|
none = 0x0, csvunfiltered = 0x1, diademadc = 0x2, isounfiltered = 0x4,
|
||
|
|
somatunfiltered = 0x8, tdmsadc = 0x10, toyotaunfiltered = 0x20,
|
||
|
|
tsvunfiltered = 0x40, csvfiltered = 0x80, isofiltered = 0x200,
|
||
|
|
somatfiltered = 0x400, tdasadc = 0x800, toyotafiltered = 0x1000,
|
||
|
|
tsvfiltered = 0x2000, rdfadc = 0x4000, ChryslerDDAS = 0x8000,
|
||
|
|
HDFUnfiltered = 0x10000, HDFFiltered = 0x20000, HDFMV = 0x40000,
|
||
|
|
HDFADC = 0x80000, xlsxfiltered = 0x100000, xlsxunfiltered = 0x200000,
|
||
|
|
CSVADC = 0x400000, CSVMV = 0x800000, Ch10FilteredEU = 0x1000000,
|
||
|
|
Ch10UnfilteredEU = 0x2000000, FIATASC = 0x4000000
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Bitwise flags for export format capabilities.
|
||
|
|
|
||
|
|
#### `UartBaudRate`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum UartBaudRate : uint
|
||
|
|
{
|
||
|
|
_110 = 110, _300 = 300, _600 = 600, _1200 = 1200, _2400 = 2400,
|
||
|
|
_4800 = 4800, _9600 = 9600, _14400 = 14400, _19200 = 19200,
|
||
|
|
_38400 = 38400, _57600 = 57600, _115200 = 115200, _230400 = 230400,
|
||
|
|
_460800 = 460800, _921600 = 921600
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Standard UART baud rates with underlying `uint` values matching the rate.
|
||
|
|
|
||
|
|
#### `UDPStreamProfile`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum UDPStreamProfile : byte
|
||
|
|
{
|
||
|
|
RTCStreaming = 0, DTS_UDP = 1, CH10_MANUAL_CONFIG = 2,
|
||
|
|
CH10_PCM128_MM = 3, CH10_ANALOG = 4, CH10_PCM_STANDARD = 5,
|
||
|
|
CH10_PCM_SUPERCOM = 6, CH10_PCM_128BIT_2HDR = 7, CH10_ANALOG_2HDR = 8,
|
||
|
|
CH10_PCM_STANDARD_2HDR = 9, CH10_PCM_SUPERCOM_2HDR = 10,
|
||
|
|
TMNS_PCM_STANDARD = 11, TMNS_PCM_SUPERCOM = 12, IENA_PTYPE_STREAM = 13,
|
||
|
|
UART_STREAM = 14
|
||
|
|
}
|
||
|
|
```
|
||
|
|
UDP streaming profiles for SLICE6A devices, supporting Chapter 10, TmNS, and IENA formats.
|
||
|
|
|
||
|
|
#### `RecordingModes`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum RecordingModes
|
||
|
|
{
|
||
|
|
CircularBuffer, Recorder, HybridRecorder, S6A_DeviceStreamingOnly,
|
||
|
|
CircularBufferPlusUART, RecorderPlusUART, MultipleEventCircularBuffer,
|
||
|
|
MultipleEventRecorder, ContinuousRecorder, RecorderAndStreamSubSample,
|
||
|
|
CircularBufferAndStreamSubSample, Active, MultipleEventActive,
|
||
|
|
MultipleEventHybridRecorder, Streaming, Scheduled, Interval,
|
||
|
|
MultipleEventCircularBufferPlusUART, MultipleEventRecorderPlusUART,
|
||
|
|
ContinuousRecorderPlusUART, RAMActive, MultipleEventRAMActive,
|
||
|
|
RecordOnBoot, RecordOnBootPlusUART, MultipleEventHybridAndStream,
|
||
|
|
HybridAndStream, MultipleEventCircularBufferAndStream,
|
||
|
|
MultipleEventRecorderAndStream
|
||
|
|
}
|
||
|
|
```
|
||
|
|
DAS recording mode configurations.
|
||
|
|
|
||
|
|
#### `ApplicationStatusTypes`
|
||
|
|
```csharp
|
||
|
|
public enum ApplicationStatusTypes
|
||
|
|
{
|
||
|
|
IDLE, SettingConfiguration, ClearingFlash, Arm, AutoArmPrepare,
|
||
|
|
WaitingForStart, WaitingForTrigger, WaitingForStartWithEvent,
|
||
|
|
WaitingForTriggerCheck, WaitingForAutoArm, WaitingForStreaming,
|
||
|
|
Passed, FailedStart, FailedTrigger, Done, FailedArm, FailedDisarm,
|
||
|
|
// ... (50+ additional states)
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Comprehensive application state machine values for DAS operations.
|
||
|
|
|
||
|
|
#### `FtssHeaderLine` / `XLSXExportHeaderLine`
|
||
|
|
```csharp
|
||
|
|
public enum FtssHeaderLine
|
||
|
|
{
|
||
|
|
[Description("Headers")] Headers = 0,
|
||
|
|
[Description("Test Date")] TestDate,
|
||
|
|
[Description("Test Time")] TestTime,
|
||
|
|
// ... (additional header fields)
|
||
|
|
[Description("Time of T0 (UTC)")] Timestamp,
|
||
|
|
[Description("Data Starts Here")] DataStart,
|
||
|
|
[Description("Time")] Labels
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Defines CSV/XLSX export header line content with localized descriptions.
|
||
|
|
|
||
|
|
#### `StreamDigitalFilterTypes`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum StreamDigitalFilterTypes
|
||
|
|
{
|
||
|
|
NO_DSP_FILTER = 0,
|
||
|
|
CH10_IIR_6TH_OPTION_80X = 5,
|
||
|
|
CH10_FIR_45T65T_OPTION_80X = 6,
|
||
|
|
ALL_RT_IIR_6TH_OPTION_80X = 13,
|
||
|
|
ALL_RT_FIR_45T65T_OPTION_80X = 14
|
||
|
|
}
|
||
|
|
```
|
||
|
|
DSP filter profiles for S6A streaming (IIR/FIR options).
|
||
|
|
|
||
|
|
#### `CFCFilter`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum CFCFilter
|
||
|
|
{
|
||
|
|
[Description("None")] None = 0,
|
||
|
|
[Description("Unfiltered")] Unfiltered = -2,
|
||
|
|
[Description("CFC 10")] Class10 = 17,
|
||
|
|
[Description("CFC 60")] Class60 = 100,
|
||
|
|
[Description("CFC 180")] Class180 = 300,
|
||
|
|
[Description("CFC 600")] Class600 = 1000,
|
||
|
|
[Description("CFC 1000")] Class1000 = 1650
|
||
|
|
}
|
||
|
|
```
|
||
|
|
SAE CFC (Channel Filter Class) filter definitions per ISO 6487.
|
||
|
|
|
||
|
|
#### `ClockSyncProfile`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum ClockSyncProfile : byte
|
||
|
|
{
|
||
|
|
None = 0, Manual, Slave_E2E, Master_E2E, Auto_E2E,
|
||
|
|
Master_E2E_IRIG, Master_E2E_IRIG_EXT_PPS, Master_E2E_GPS,
|
||
|
|
Master_E2E_GPS_EXT_PPS, Master_E2E_EXT_PPS,
|
||
|
|
IRIG = 21, IRIG_EXT_PPS, GPS, GPS_EXT_PPS, EXT_PPS,
|
||
|
|
// ... (additional PPS output profiles)
|
||
|
|
}
|
||
|
|
```
|
||
|
|
PTP/IRIG/GPS clock synchronization profiles for distributed DAS systems.
|
||
|
|
|
||
|
|
#### `InputClockSource` / `OutputClockSource`
|
||
|
|
```csharp
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum InputClockSource : byte
|
||
|
|
{
|
||
|
|
None = 0, PTP = 1 << 0, IRIG = 1 << 1, GPS = 1 << 2, OnePPS = 1 << 3,
|
||
|
|
PTP_OnePPS = (1 << 0) | (1 << 3), IRIG_OnePPS = (1 << 1) | (1 << 3),
|
||
|
|
GPS_OnePPS = (1 << 2) | (1 << 3)
|
||
|
|
}
|
||
|
|
|
||
|
|
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||
|
|
public enum OutputClockSource : byte { /* bitwise combinations */ }
|
||
|
|
```
|
||
|
|
Bitwise clock source configuration for time synchronization.
|
||
|
|
|
||
|
|
### Classes and Static Members
|
||
|
|
|
||
|
|
#### `RibbonTabNames`
|
||
|
|
```csharp
|
||
|
|
public static class RibbonTabNames
|
||
|
|
{
|
||
|
|
public const string Tab1 = "TBD";
|
||
|
|
public const string Tab2 = "TBD";
|
||
|
|
public const string Tab3 = "TBD";
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Placeholder constants for ribbon UI tab names (values not yet defined).
|
||
|
|
|
||
|
|
#### `IsoViewModeStatic`
|
||
|
|
```csharp
|
||
|
|
public abstract class IsoViewModeStatic
|
||
|
|
{
|
||
|
|
public static IsoViewMode ViewMode { get; set; }
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Global static holder for ISO view mode across modules. Does not persist; must be set from database separately.
|
||
|
|
|
||
|
|
#### `SelectedItemsStatus`
|
||
|
|
```csharp
|
||
|
|
public abstract class SelectedItemsStatus
|
||
|
|
{
|
||
|
|
public static void SetUpdating(object o, bool updating);
|
||
|
|
public static bool GetUpdating(object o);
|
||
|
|
}
|
||
|
|
```
|
||
|
|
Thread-safe dictionary-based status tracking for UI update operations.
|
||
|
|
|
||
|
|
#### `EnumBindingSourceExtension`
|
||
|
|
```csharp
|
||
|
|
public class EnumBindingSourceExtension : MarkupExtension
|
||
|
|
{
|
||
|
|
public Type EnumType { get; set; }
|
||
|
|
public EnumBindingSourceExtension();
|
||
|
|
public EnumBindingSourceExtension(Type enumType);
|
||
|
|
public override object ProvideValue(IServiceProvider serviceProvider);
|
||
|
|
}
|
||
|
|
```
|
||
|
|
WPF markup extension for binding enums to UI controls. Supports nullable enums.
|
||
|
|
|
||
|
|
#### `ExcitationVoltageOptions`
|
||
|
|
```csharp
|
||
|
|
public class ExcitationVoltageOptions
|
||
|
|
{
|
||
|
|
public enum ExcitationVoltageOption { Undefined = 1, Volt2 = 2,
|