This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
---
source_files:
- DataPRO/ICommand/Classes/UDPQATSEntry.cs
- DataPRO/ICommand/Classes/DiscoveredDevice.cs
generated_at: "2026-04-17T15:56:16.773593+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "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
```csharp
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`

View File

@@ -0,0 +1,46 @@
---
source_files:
- DataPRO/ICommand/Properties/AssemblyInfo.cs
generated_at: "2026-04-17T16:14:40.309390+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "67999941b0c18552"
---
# Properties
### Purpose
This module contains assembly metadata for the `ICommand` assembly. It is a standard .NET Framework properties file that defines version information, COM visibility settings, and assembly identity attributes. This assembly appears to be a core component of the DataPRO system, with an initial copyright date of 2008, suggesting it is one of the older foundational modules.
### Public Interface
No public types, functions, or methods are defined in this module. The file contains only assembly-level attributes:
- `AssemblyTitle`: Set to `"ICommand"`
- `AssemblyDescription`: Empty
- `AssemblyCompany`: Empty
- `AssemblyProduct`: Set to `"ICommand"`
- `AssemblyCopyright`: Set to `"Copyright © 2008"`
- `AssemblyCulture`: Empty
- `ComVisible`: Set to `false`
- `Guid`: Set to `"14230b85-7fbb-40ce-973e-c0aecb2e8b44"`
- `AssemblyVersion`: Set to `"1.06.0081"`
- `AssemblyFileVersion`: Set to `"1.06.0081"`
### Invariants
- The assembly version and file version are synchronized at `"1.06.0081"`.
- COM visibility is explicitly disabled (`ComVisible(false)`), meaning types in this assembly are not exposed to COM components by default.
- The GUID `"14230b85-7fbb-40ce-973e-c0aecb2e8b44"` uniquely identifies this assembly's type library if exposed to COM.
### Dependencies
**Imports:**
- `System.Reflection`
- `System.Runtime.CompilerServices`
- `System.Runtime.InteropServices`
**Dependents:** Cannot be determined from this file alone. The `ICommand` assembly name suggests it may be a library or interface definition that other modules depend on.
### Gotchas
- The `AssemblyDescription` attribute is empty, providing no documentation of the assembly's purpose at the metadata level.
- The `AssemblyCompany` attribute is empty, indicating no corporate branding is embedded in the assembly metadata.
- The version format `"1.06.0081"` suggests a custom versioning scheme (possibly Major.Minor.Build where Build encodes date or sequence information).
---