37 lines
1.7 KiB
Markdown
37 lines
1.7 KiB
Markdown
---
|
|
source_files:
|
|
- Common/DTS.Common/Enums/SliceSimpleArm/SSACommands.cs
|
|
generated_at: "2026-04-17T16:09:44.177740+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "948cd86b07501b26"
|
|
---
|
|
|
|
# SliceSimpleArm
|
|
|
|
### Purpose
|
|
This module defines command and response enumerations for interacting with a "Slice Simple Arm" device. It provides a typed vocabulary for device operations (arming, recording, downloading, etc.) and their possible outcomes, enabling structured communication between the application and the hardware device.
|
|
|
|
### Public Interface
|
|
|
|
**`enum SSACommand`**
|
|
- Values: `ConfigureDevice`, `Diagnostics`, `Arm`, `StartRecord`, `CheckForArmed`, `Disarm`, `Download`, `SetLowPowerMode`, `Trigger`
|
|
- Represents operations that can be sent to the Slice Simple Arm device.
|
|
|
|
**`enum SSAResponse`**
|
|
- Values: `Unknown`, `Status`, `Pass`, `Fail`, `SystemNotArmed`, `NoSensorsFound`, `NoEIDsFound`, `UnknownEIDFound`, `NoDASConnected`, `ExceptionThrown`, `DiagnosticsFailedOffsetTolerance`, `DiagnosticsFailedShuntCheck`
|
|
- Represents response codes returned from device operations.
|
|
|
|
### Invariants
|
|
- Enum values are implicitly integer-backed (default underlying type `int`).
|
|
- No explicit value assignments; ordering is sequential starting from 0.
|
|
|
|
### Dependencies
|
|
- **Depends on**: None (standalone enum definitions).
|
|
- **Depended on by**: Unclear from source alone—likely consumed by hardware communication layers or device controllers.
|
|
|
|
### Gotchas
|
|
- The term "EID" and "DAS" are not defined in this module; their meaning requires external context.
|
|
- `SSAResponse.Unknown` exists as a default/catch-all response, suggesting responses may be uninitialized or unrecognized in some flows.
|
|
|
|
--- |