Files
DP44/docs/ai/DataPRO/ICommand/Classes.md
2026-04-17 14:55:32 -04:00

2.3 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/ICommand/Classes/UDPQATSEntry.cs
DataPRO/ICommand/Classes/DiscoveredDevice.cs
2026-04-17T15:56:16.773593+00:00 zai-org/GLM-5-FP8 1 250108073ba9ce90

Documentation: DTS.DASLib.Command.Classes

1. Purpose

This module provides data structures for device communication and discovery within the DTS data acquisition system. UDPQATSEntry captures a snapshot of device state from UDP QATS (Quick Acquisition and Triggering System) responses, including arm status, sampling metrics, sensor readings, and fault information. DiscoveredDevice represents devices discovered via multicast autodiscovery, managing device hierarchy, network configuration, and positional relationships for devices connected through distributors (e.g., SLICE6DB). Together, these classes serve as DTOs for inter-module communication between device hardware and higher-level application logic.


2. Public Interface

UDPQATSEntry

Implements: IUDPQATSEntry

A read-only data transfer object representing a UDP QATS device status response.

Constructor

public UDPQATSEntry(
    string responseHostMac,
    string responseClientMacAddress,
    string serialNumber,
    byte armState,
    byte armMode,
    byte started,
    byte triggered,
    byte faultFlags,
    uint sampleRate,
    ulong totalSamples,
    ulong currentSample,
    ushort eventNumber,
    ulong faultSampleNumber,
    ushort legacyFaultFlags,
    float inputVoltage,
    float backupVoltage,
    float batterySOC,
    ulong estimateMaxSamples,
    short tiltSensorCh1,
    short tiltSensorCh2,
    short tiltSensorCh3,
    float sysTempC,
    byte syncClockEnable,
    byte adcExtClockSyncEnable,
    byte syncClockStatus,
    byte adcExtClockSyncStatus,
    ulong eventTriggerSample,
    float[] channelOffsetMV,
    float[] channelShuntDeviationPercent,
    DateTime timeStamp)

Initializes all properties from constructor parameters. All properties have private set accessors, making the instance effectively immutable after construction.

Properties

Property Type Description
ResponseHostMac string MAC address of the responding host
ResponseClientMacAddress string Client MAC address from response
SerialNumber string