Files

36 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
---
source_files:
- Common/DTS.Common/Interface/Sensors/AnalogDiagnostics/IDiagnosticRun.cs
- Common/DTS.Common/Interface/Sensors/AnalogDiagnostics/IDiagnosticEntry.cs
generated_at: "2026-04-17T16:24:55.024568+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "5ebd8c3221c912e5"
---
# AnalogDiagnostics
### Purpose
This module defines the data contracts for analog sensor diagnostic testing. It captures the structure of diagnostic runs (test sessions) and individual diagnostic entries (per-channel test results), including excitation, offset, range, noise, and shunt measurements with pass/fail status tracking.
### Public Interface
**`IDiagnosticRun`** (interface)
- Namespace: `DTS.Common.Interface.Sensors.AnalogDiagnostics`
- Members:
- `long? Id { get; set; }` — Nullable identifier for the diagnostic run
- `string DataPROUser { get; set; }` — User associated with the diagnostic run
- `int? TestId { get; set; }` — Nullable test identifier
- `string TestName { get; set; }` — Name of the test
- `bool PreTest { get; set; }` — Flag indicating if this is a pre-test run
**`IDiagnosticEntry`** (interface)
- Namespace: `DTS.Common.Interface.Sensors.AnalogDiagnostics`
- Members:
- `long? Id { get; set; }` — Nullable identifier for the entry
- `long DiagnosticRunId { get; set; }` — Foreign key to parent diagnostic run (non-nullable)
- `double? Excitation { get; set; }` — Excitation measurement value
- `DiagnosticStatus ExcitationStatus { get; set; }` — Status of excitation test
- `double? Offset { get; set; }` — Offset measurement value
- `DiagnosticStatus OffsetStatus { get; set; }` — Status of offset test
- `double? ActualRange { get; set; }` — Actual range measurement