Files
DP44/docs/ai/Common/DTS.Common.DAS.Concepts/Test.md
2026-04-17 14:55:32 -04:00

5.8 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
Common/DTS.Common.DAS.Concepts/Test/Test.Module.cs
Common/DTS.Common.DAS.Concepts/Test/Test.Module.Channel.cs
Common/DTS.Common.DAS.Concepts/Test/Test.Module.Channel.Sensor.cs
Common/DTS.Common.DAS.Concepts/Test/Test.Module.Channel.Sensor.Bridge.cs
Common/DTS.Common.DAS.Concepts/Test/Test.Module.Channel.Sensor.SensorUnits.cs
Common/DTS.Common.DAS.Concepts/Test/Test.Module.Channel.Sensor.ZeroMethod.cs
Common/DTS.Common.DAS.Concepts/Test/Test.Module.RecordingMode.cs
Common/DTS.Common.DAS.Concepts/Test/Test.Module.Channel.Sensor.ExcitationVoltage.cs
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 RecordingMode enum value.
    • Throws Exception if the string cannot be parsed.

Enums

  • RecordingMode - All available recording mode options.
    • InvalidArmMode = 0 - Invalid mode, cannot be used
    • CircularBuffer = 1 - Circular buffer mode (constant recording, trigger)
    • RecorderMode = 2 - Recorder mode (start, trigger)
    • AutoCircularBufferMode = 4 - Constant recording, trigger, rearm after data collected
    • AutoRecorderMode = 5 - Recorder mode (start, trigger) rearm after data collected
    • ImmediateMode = 0x06 - Purpose unclear from source
    • HighPowerRecorderMode = 0x07 - Purpose unclear from source
    • LowPowerRecorderMode = 0x08 - Purpose unclear from source
    • ContinuousRecorderMode = 0x09 - Purpose unclear from source
    • HybridRecorderMode = 0x0A - Purpose unclear from source
    • MultiHybridRecorderMode = 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 modes

    • AC - Description: "AC"
    • DC - Description: "AC/DC"
  • BridgeType - All available bridge types (bit-shifted values)

    • IEPE = 1 << 0 - Sensor uses IEPE setup
    • QuarterBridge = 1 << 1 - Sensor uses quarter bridge setup
    • HalfBridge = 1 << 2 - Sensor uses half bridge setup
    • FullBridge = 1 << 3 - Sensor has full bridge setup
    • DigitalInput = 1 << 4
    • SQUIB = 1 << 5
    • TOMDigital = 1 << 6
  • SensUnits - All available Sensitivity Unit types

    • NONE = 0 - No Sensitivity Units (Polynomial Sensor)
    • mV = 1 - Sensitivity expressed in mV with output at Capacity EU
    • mVperV = 2 - Excitation proportional sensitivity expressed in mV/V with output at Capacity EU
    • mVperVperEU = 3 - Excitation proportional sensitivity expressed in mV/V/EU
    • mVperEU = 4 - Sensitivity expressed in mV/EU
  • ZeroMethodType - All available zero method types

    • AverageOverTime = 0 - Calculate electrical zero using an average over time
    • UsePreEventDiagnosticsZero = 1 - Calculate zero using time in pre-event
    • None = 2 - Calculate zero using injected value
  • OriginalZeroMethodType - Original version of zero method types (for legacy compatibility)

    • AverageOverTime - Calculate electrical zero using an average over time
    • UsePreCalZero - Calculate zero using time in pre-event
    • None - Calculate zero using injected value
  • ExcitationVoltageOption - All available excitation voltages

    • Undefined = 1 - Undefined excitation voltage (0.0V)
    • Volt2 = 2 - 2.0V
    • Volt2_5 = 4 - 2.5V
    • Volt3 = 8 - 3.0V
    • Volt5 = 16 - 5.0V
    • Volt10 = 32 - 10.0V
    • Volt1 = 64 - 1.0V

Methods

  • public static double GetExcitationVoltageMagnitudeFromEnum(ExcitationVoltageOption target)

    • Converts an ExcitationVoltageOption enum value to its associated numeric voltage magnitude.
    • Throws Exception on failure.
  • public static ExcitationVoltageOption GetExcitationVoltageEnumFromMagnitude(double magnitude)

    • Converts a voltage magnitude (double) to the corresponding ExcitationVoltageOption enum value.
    • Throws NotSupportedException if the magnitude doesn't match a known option.

Nested Classes

  • VoltageMagnitudeAttribute (extends System.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 (extends AttributeCoder<ExcitationVoltageOption, VoltageMagnitudeAttribute, double>)

    • Utility class for manipulating voltage option enumeration-attached magnitude values.
    • Constructor: VoltageMagnitudeAttributeCoder()

3. Invariants

  1. Container Non-Instantiability: Module, Channel, and Sensor classes all have private constructors and are not intended for instantiation. They serve solely as static containers for nested types.

2