27 lines
1.6 KiB
Markdown
27 lines
1.6 KiB
Markdown
---
|
|
source_files:
|
|
- DataPRO/IService/StateMachine/StatusAndParameters/HardwareDiscovery/HardwareDiscoveryParameters.cs
|
|
generated_at: "2026-04-17T15:41:51.740392+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "6758fa7750cb111c"
|
|
---
|
|
|
|
# HardwareDiscoveryParameters Documentation
|
|
|
|
## 1. Purpose
|
|
|
|
`HardwareDiscoveryParameters` is a configuration data class used by a state machine to control hardware discovery behavior for DAS (Data Acquisition System) devices. It encapsulates all parameters needed for discovering, connecting to, and validating hardware components—including IP address ranges to scan, known device types (TDAS vs SLICE), connection timeouts, hardware validation checks, and callback delegates for querying device metadata. This class serves as the input specification for the hardware discovery state within a larger state machine workflow.
|
|
|
|
---
|
|
|
|
## 2. Public Interface
|
|
|
|
### Properties
|
|
|
|
| Property | Type | Default | Description |
|
|
|----------|------|---------|-------------|
|
|
| `ReadIds` | `bool` | `false` | Controls whether device IDs should be read during discovery. |
|
|
| `Addresses` | `string[]` | `new string[0]` | Explicit IP addresses to connect to. If not specified in known TDAS or SLICE lists, connection will be attempted as both device types. |
|
|
| `AddressRanges` | `Tuple<string, string>[]` | `new Tuple<string, string>[0]` | IP address ranges to ping. Each tuple defines a range from the first address up to the 4th byte of the second address. Responding IPs are added to connection candidates. |
|
|
| `KnownTDASIPAddresses` | `string[]` | `new string[0]` | |