1.5 KiB
1.5 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |||||
|---|---|---|---|---|---|---|---|---|---|
|
2026-04-17T15:52:23.970516+00:00 | zai-org/GLM-5-FP8 | 1 | ca0ada14242b6e01 |
StateMachine Module Documentation
1. Purpose
This module implements a state machine for managing system operational states within the DTS.DASLib.Service namespace. It provides state transition logic for a data acquisition system (DAS) that progresses through hardware discovery, configuration, diagnostics, download, arming, and realtime operation phases. Each state class encapsulates its own transition logic via a StateSelector() method that determines the next appropriate state based on runtime status and parameter conditions.
2. Public Interface
State Enum
An enumeration defining all possible system states. Observed values include:
State.HardwareDiscoveryStartState.HardwareDiscoveryState.ConfigureState.ConfigureStartState.DownloadState.ArmState.DiagnoseState.RealtimeStartState.Realtime
Realtime Class
Properties:
State— ReturnsState.Realtime
Methods:
- None observed in tests (terminal state).
Configure Class
Methods:
StateSelector()— Returns adasStateobject with `State.ConfigureStart