Files

37 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
---
source_files:
- Common/DTS.Common/Interface/ExportData/MainView/IExportMainViewModel.cs
generated_at: "2026-04-17T16:39:49.760501+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "cbc7cc6acea76256"
---
# Documentation: IExportMainViewModel
## 1. Purpose
`IExportMainViewModel` is a ViewModel interface for the main export view in a WPF-based application. It defines the contract for a primary view controller that manages multiple UI regions (navigation, graphs, properties), handles user permissions, test/file selection, keyboard navigation, and calibration behavior settings. This interface serves as the coordination point between the main view and its various sub-regions, supporting both standalone and embedded operation modes.
---
## 2. Public Interface
### Inherited Interfaces
- `IBaseViewModel` (from `DTS.Common.Base`)
- `ISelectedDataViewModel`
### Properties
| Name | Type | Access | Description |
|------|------|--------|-------------|
| `View` | `IBaseView` | get/set | The Main View instance. |
| `Standalone` | `bool` | get/set | Indicates whether the view is running in standalone mode. |
| `ContextNavigationRegion` | `object` | get/set | Context for the navigation region. |
| `ContextGraphRegion` | `object` | get/set | Context for a single graph region. |
| `ContextGraphsRegion` | `object` | get/set | Context for multiple graphs region. |
| `ContextPropertyRegion` | `object` | get/set | Context for the property region. |
| `ConfigPath` | `string` | get/set | Path to configuration. |
| `DoesUserHaveEditPermission` | `bool` | get/set | Indicates if the current user has edit permissions. |
| `ChannelCodeViewMode` | `Common.Enums.IsoViewMode` | get/set | The view mode for channel codes. |
| `CalibrationBehaviorSetting` |