45 lines
2.0 KiB
Markdown
45 lines
2.0 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.Common/Interface/Groups/GroupChannelList/IGroupChannelListView.cs
|
||
|
|
- Common/DTS.Common/Interface/Groups/GroupChannelList/IGroupChannelSettingsListView.cs
|
||
|
|
- Common/DTS.Common/Interface/Groups/GroupChannelList/IGroupChannelListViewModel.cs
|
||
|
|
generated_at: "2026-04-17T15:39:49.778268+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "c0ec7b2fdd691bd5"
|
||
|
|
---
|
||
|
|
|
||
|
|
# Documentation: Group Channel List Interfaces
|
||
|
|
|
||
|
|
## 1. Purpose
|
||
|
|
|
||
|
|
This module defines the contract for the Group Channel List feature within the DTS system. It provides three interfaces that together implement a Model-View-ViewModel (MVVM) pattern for managing, displaying, and editing group channels associated with test setups and sensor configurations. The module handles channel population, filtering, sorting, drag-and-drop sensor assignment, ISO code management, and coordinates between the main channel list view and a settings view.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 2. Public Interface
|
||
|
|
|
||
|
|
### `IGroupChannelListView`
|
||
|
|
**Extends:** `IBaseView`
|
||
|
|
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `HandleColumns` | `void HandleColumns(IsoViewMode viewMode)` | Configures which columns are displayed based on the ISO view mode. |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### `IGroupChannelSettingsListView`
|
||
|
|
**Extends:** `IBaseView`
|
||
|
|
|
||
|
|
| Member | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `SetOrderMode` | `void SetOrderMode(bool bUseTestSetupOrder)` | Sets whether columns use group order or test setup order. |
|
||
|
|
| `SetDisplayOptions` | `void SetDisplayOptions(bool bShowSensorChannelUserValues)` | Controls visibility of User Value X columns. |
|
||
|
|
| `HandleColumns` | `void HandleColumns(IsoViewMode viewMode)` | Configures columns based on ISO view mode. |
|
||
|
|
| `SetFilterMode` | `void SetFilterMode(PossibleFilters filterMode)` | Configures columns based on sensor type filter. |
|
||
|
|
| `ViewDbVersion` | `int ViewDbVersion { get; set; }` | Stores minimum client DB version for feature toggling. |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### `IGroupChannelListViewModel`
|
||
|
|
**Extends:** `IBase
|