Files
DP44/docs/ai/Common/DTS.Common.DAS.Concepts/DAS/Channel.md

39 lines
1.7 KiB
Markdown
Raw Normal View History

2026-04-17 14:55:32 -04:00
---
source_files:
- Common/DTS.Common.DAS.Concepts/DAS/Channel/LevelTriggerTypes.cs
- Common/DTS.Common.DAS.Concepts/DAS/Channel/Channel.cs
- Common/DTS.Common.DAS.Concepts/DAS/Channel/TimestampPartTypes.cs
- Common/DTS.Common.DAS.Concepts/DAS/Channel/Data.cs
generated_at: "2026-04-17T16:02:26.602478+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "f01712407c9d73cd"
---
# Channel
### Purpose
This module provides core abstractions and type definitions for Data Acquisition System (DAS) channels. It defines the fundamental building blocks for representing channel data, trigger conditions, and timestamp parsing within the DTS DAS architecture. The module serves as a conceptual foundation layer that other DAS components build upon.
### Public Interface
**`LevelTriggerTypes`** (enum, Flags)
- A bitwise flag enumeration defining trigger condition types for level-based triggering.
- Values:
- `NONE = 0x00` - No trigger condition
- `OutsideWindow = 0x01` - Trigger when outside a defined window
- `InsideWindow = 0x02` - Trigger when inside a defined window
- `LessThan = 0x04` - Trigger when value is less than threshold
- `GreaterThan = 0x08` - Trigger when value is greater than threshold
**`TimestampPartTypes`** (enum, Flags)
- A bitwise flag enumeration identifying components of a timestamp, with `TypeConverter` support for UI binding.
- Values:
- `Marker = 1 << 0` - Marker bit
- `Seconds_High = 1 << 1` - High bits of seconds field
- `Seconds_Low = 1 << 2` - Low bits of seconds field
- `Nanoseconds_High = 1 << 3` - High bits of nanoseconds field
- `Nanoseconds_Low = 1 << 4` - Low bits of nanoseconds field
- `Reserved = 1 << 5` - Reserved bits
**`Channel<TDataType>`