5.8 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
2026-04-17T15:32:50.545450+00:00 | zai-org/GLM-5-FP8 | 1 | b632931e43678d7e |
Documentation: DTS.DAS.Concepts Test Module Hierarchy
1. Purpose
This module provides a hierarchical container structure for Data Acquisition System (DAS) concepts related to test configuration. It defines enumerations and utility methods for sensor configuration (bridge types, coupling modes, excitation voltages, sensitivity units, zero methods) and module recording modes. The structure follows a nested partial class pattern where Test.Module.Channel.Sensor serves as the primary namespace for sensor-related concepts, while Test.Module contains module-level configuration. All container classes are designed as static containers with private constructors and are not intended for instantiation.
2. Public Interface
Test.Module (sealed partial class)
Container for DTS generic module concepts. Not instantiable.
Methods
public static RecordingMode GetRecordingModeFromString(string recordingMode)- Converts a string representation of a recording mode enumeration into its corresponding
RecordingModeenum value. - Throws
Exceptionif the string cannot be parsed.
- Converts a string representation of a recording mode enumeration into its corresponding
Enums
RecordingMode- All available recording mode options.InvalidArmMode = 0- Invalid mode, cannot be usedCircularBuffer = 1- Circular buffer mode (constant recording, trigger)RecorderMode = 2- Recorder mode (start, trigger)AutoCircularBufferMode = 4- Constant recording, trigger, rearm after data collectedAutoRecorderMode = 5- Recorder mode (start, trigger) rearm after data collectedImmediateMode = 0x06- Purpose unclear from sourceHighPowerRecorderMode = 0x07- Purpose unclear from sourceLowPowerRecorderMode = 0x08- Purpose unclear from sourceContinuousRecorderMode = 0x09- Purpose unclear from sourceHybridRecorderMode = 0x0A- Purpose unclear from sourceMultiHybridRecorderMode = 0x0B- Purpose unclear from source
Test.Module.Channel (sealed partial class)
Container for DTS generic channel concepts. Not instantiable.
Test.Module.Channel.Sensor (sealed partial class)
Container for DTS generic sensor concepts. Not instantiable.
Enums
-
CouplingModes- IEPE Coupling modesAC- Description: "AC"DC- Description: "AC/DC"
-
BridgeType- All available bridge types (bit-shifted values)IEPE = 1 << 0- Sensor uses IEPE setupQuarterBridge = 1 << 1- Sensor uses quarter bridge setupHalfBridge = 1 << 2- Sensor uses half bridge setupFullBridge = 1 << 3- Sensor has full bridge setupDigitalInput = 1 << 4SQUIB = 1 << 5TOMDigital = 1 << 6
-
SensUnits- All available Sensitivity Unit typesNONE = 0- No Sensitivity Units (Polynomial Sensor)mV = 1- Sensitivity expressed in mV with output at Capacity EUmVperV = 2- Excitation proportional sensitivity expressed in mV/V with output at Capacity EUmVperVperEU = 3- Excitation proportional sensitivity expressed in mV/V/EUmVperEU = 4- Sensitivity expressed in mV/EU
-
ZeroMethodType- All available zero method typesAverageOverTime = 0- Calculate electrical zero using an average over timeUsePreEventDiagnosticsZero = 1- Calculate zero using time in pre-eventNone = 2- Calculate zero using injected value
-
OriginalZeroMethodType- Original version of zero method types (for legacy compatibility)AverageOverTime- Calculate electrical zero using an average over timeUsePreCalZero- Calculate zero using time in pre-eventNone- Calculate zero using injected value
-
ExcitationVoltageOption- All available excitation voltagesUndefined = 1- Undefined excitation voltage (0.0V)Volt2 = 2- 2.0VVolt2_5 = 4- 2.5VVolt3 = 8- 3.0VVolt5 = 16- 5.0VVolt10 = 32- 10.0VVolt1 = 64- 1.0V
Methods
-
public static double GetExcitationVoltageMagnitudeFromEnum(ExcitationVoltageOption target)- Converts an
ExcitationVoltageOptionenum value to its associated numeric voltage magnitude. - Throws
Exceptionon failure.
- Converts an
-
public static ExcitationVoltageOption GetExcitationVoltageEnumFromMagnitude(double magnitude)- Converts a voltage magnitude (double) to the corresponding
ExcitationVoltageOptionenum value. - Throws
NotSupportedExceptionif the magnitude doesn't match a known option.
- Converts a voltage magnitude (double) to the corresponding
Nested Classes
-
VoltageMagnitudeAttribute(extendsSystem.Attribute)- Attribute for specifying the numerical magnitude of an enum field's representation.
- Constructor:
VoltageMagnitudeAttribute(double value) - Property:
Value(double) - Returns the voltage magnitude.
-
VoltageMagnitudeAttributeCoder(extendsAttributeCoder<ExcitationVoltageOption, VoltageMagnitudeAttribute, double>)- Utility class for manipulating voltage option enumeration-attached magnitude values.
- Constructor:
VoltageMagnitudeAttributeCoder()
3. Invariants
- Container Non-Instantiability:
Module,Channel, andSensorclasses all have private constructors and are not intended for instantiation. They serve solely as static containers for nested types.
2