Files
2026-04-17 14:55:32 -04:00

24 lines
970 B
Markdown

---
source_files:
- DataPRO/Modules/Hardware/AddEditHardware/ViewModel/AddEditHardwareViewModel.cs
generated_at: "2026-04-17T16:00:07.067031+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "9a47572c9293f8ae"
---
# AddEditHardwareViewModel Documentation
## 1. Purpose
`AddEditHardwareViewModel` is a Prism-based ViewModel that manages the UI logic for adding and editing hardware devices within the DTS application. It serves as the intermediary between the `IAddEditHardwareView` and the underlying hardware data models, handling validation, persistence, SLICE6 database associations, and event-based communication with other modules. The class is designed as a shared singleton (via MEF `CreationPolicy.Shared`) and integrates with the application's event aggregation, region management, and dependency injection systems.
---
## 2. Public Interface
### Properties
| Name | Type | Description |
|------|------|-------------|
| `AllowStandin` | `bool