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,82 @@
---
source_files:
- Common/DTS.Common/Enums/DASFactory/WakeupTriggers.cs
- Common/DTS.Common/Enums/DASFactory/UseCasesTSRAIR.cs
- Common/DTS.Common/Enums/DASFactory/S6DBDiagnosticChannelList.cs
- Common/DTS.Common/Enums/DASFactory/ConstantsAndEnums.cs
generated_at: "2026-04-17T15:36:12.002625+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "f42ba2c5d896175e"
---
# Documentation: DTS.Common.Enums.DASFactory
## 1. Purpose
This module defines enumerations and constants used by the DAS (Data Acquisition System) Factory subsystem within the DTS Common library. It provides standardized identifiers for device types, diagnostic channels, use cases, wakeup triggers, and event markers used across the DTS hardware ecosystem. These enums serve as the canonical type definitions for inter-module communication and hardware configuration.
---
## 2. Public Interface
### `WakeupTriggers` (enum)
**Namespace:** `DTS.Common.Enums.DASFactory`
Defines triggers that can wake up the system.
| Member | Description Attribute |
|--------|----------------------|
| `MotionDetect` | `"WakeupTriggers_MotionDetect"` |
**Attributes:** `[TypeConverter(typeof(EnumDescriptionTypeConverter))]`
---
### `UseCasesTSRAIR` (enum : byte)
**Namespace:** `DTS.Common.Enums.DASFactory`
Defines operational use cases for TSR AIR devices.
| Member | Description Attribute |
|--------|----------------------|
| `AEROSPACE` | `"Aerospace"` |
| `AEROSPACE_with_motion` | `"Aerospace with motion"` |
| `VIBRATION` | `"Vibration"` |
| `SCHEDULED` | `"Scheduled"` |
| `INTERVAL` | `"Interval"` |
| `STREAMING` | `"Streaming"` |
| `PRETRIGGER_TEST` | `"Pretrigger test"` |
**Attributes:** `[TypeConverter(typeof(EnumDescriptionTypeConverter))]`
---
### `S6DBDiagnosticChannelList` (enum)
**Namespace:** `DTS.Common.Enums.DASFactory`
Defines diagnostic channel identifiers for Slice6 DB hardware.
**Legacy Base Channels (0-3):**
| Member | Value |
|--------|-------|
| `InputVoltage` | 0 |
| `BackupVoltage` | 1 |
| `TemperatureC` | 2 |
| `BatterySoc` | 3 |
**DB Diagnostic Channels (100-119):**
| Member | Value | Notes |
|--------|-------|-------|
| `DiagInputVoltage` | 100 | |
| `DiagMcuTemperature` | 101 | |
| `DiagChargerPower` | 102 | |
| `DiagChargerInputCurrent` | 103 | |
| `DiagEnv_1_Temperature` | 104 | Internal; replaces `DiagChargerDischargeCurrent` |
| `DiagEnv_1_Humidity` | 105 | Internal |
| `DiagEnv_2_Temperature` | 106 | |
| `DiagEnv_2_Humidity` | 107 | |
| `DiagEnv_3_Temperature` | 108 | |
| `DiagEnv_3_Humidity` | 109 | |
| `DiagEnv_4_Temperature` | 110 | |
| `DiagEnv_