80 lines
2.7 KiB
Markdown
80 lines
2.7 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.Channel.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.Channel.IIsoCodeAware.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.Channel.ISerialNumberAware.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.Channel.IEngineeringUnitAware.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DecimationMethod.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.Channel.IInversionAware.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DTS.DAS.Concepts.IVoltageInsertAware.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.Channel.ILevelTriggerable.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.Channel.Data.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.DAS.Concepts.IShuntAware.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.Channel.IDecimatable.cs
|
||
|
|
- Common/DTS.Common.DAS.Concepts/DAS/DAS.Id.cs
|
||
|
|
generated_at: "2026-04-17T15:30:10.771807+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "699480c930d40828"
|
||
|
|
---
|
||
|
|
|
||
|
|
# Documentation: DTS.DAS.Concepts.DAS
|
||
|
|
|
||
|
|
## 1. Purpose
|
||
|
|
|
||
|
|
This module provides the core abstract representations and interfaces for Data Acquisition System (DAS) channels within the DTS framework. It defines the conceptual building blocks for channel metadata awareness (serial numbers, ISO codes, engineering units, inversion state), calibration concepts (shunt and cal signal awareness, voltage insertion), data handling (decimation, channel data storage), and channel identification. The module serves as a contract layer that concrete DAS implementations must satisfy, enabling polymorphic treatment of different data acquisition hardware.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 2. Public Interface
|
||
|
|
|
||
|
|
### Classes
|
||
|
|
|
||
|
|
#### `Channel<DataType>` (abstract)
|
||
|
|
**Namespace:** `DTS.DAS.Concepts.DAS`
|
||
|
|
**File:** `DAS.Channel.cs`
|
||
|
|
**Base:** `DTS.Utilities.Exceptional`
|
||
|
|
|
||
|
|
An abstract generic representation of a DAS channel. The generic type parameter `DataType` specifies the data type contained by channels of this DAS.
|
||
|
|
|
||
|
|
```csharp
|
||
|
|
public abstract class Channel<DataType> : Exceptional
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
#### `Data<DatumType>` (abstract)
|
||
|
|
**Namespace:** `DTS.DAS.Concepts.DAS.Channel`
|
||
|
|
**File:** `DAS.Channel.Data.cs`
|
||
|
|
**Base:** `DTS.Utilities.ExceptionalList<DatumType>`
|
||
|
|
|
||
|
|
Abstract representation of a list of channel data.
|
||
|
|
|
||
|
|
**Constructors:**
|
||
|
|
```csharp
|
||
|
|
protected Data()
|
||
|
|
protected Data(int capacity)
|
||
|
|
protected Data(IEnumerable<DatumType> collection)
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
#### `Id` (sealed)
|
||
|
|
**Namespace:** `DTS.Common.DAS.Concepts.DAS`
|
||
|
|
**File:** `DAS.Id.cs`
|
||
|
|
**Base:** `DTS.Common.Utilities.Exceptional`
|
||
|
|
**Implements:** `IComparable<Id>`, `IEquatable<Id>`
|
||
|
|
|
||
|
|
A string-based identifier type with case-insensitive comparison semantics.
|
||
|
|
|
||
|
|
**Constructors:**
|
||
|
|
```csharp
|
||
|
|
public Id(string value)
|
||
|
|
```
|
||
|
|
|
||
|
|
**Properties:**
|
||
|
|
```csharp
|
||
|
|
// No public properties; value is accessed via ToString() or implicit conversion
|
||
|
|
```
|
||
|
|
|
||
|
|
**Operators
|