init
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.CommonCore/Interface/Groups/GroupChannelList/IGroupChannelListView.cs
|
||||
- Common/DTS.CommonCore/Interface/Groups/GroupChannelList/IGroupChannelSettingsListView.cs
|
||||
- Common/DTS.CommonCore/Interface/Groups/GroupChannelList/IGroupChannelListViewModel.cs
|
||||
generated_at: "2026-04-17T15:39:38.978793+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "1325ec3612a15b50"
|
||||
---
|
||||
|
||||
# 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 configuring group channels associated with test setups and sensor configurations. The module handles channel population, filtering, sorting, ordering, and synchronization between different view representations of channel data.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### IGroupChannelListView
|
||||
**Namespace:** `DTS.Common.Interface.Groups.GroupChannelList`
|
||||
**Inherits:** `IBaseView`
|
||||
|
||||
| Member | Signature
|
||||
58
docs/ai/Common/DTS.CommonCore/Interface/Groups/GroupList.md
Normal file
58
docs/ai/Common/DTS.CommonCore/Interface/Groups/GroupList.md
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.CommonCore/Interface/Groups/GroupList/IGroupListView.cs
|
||||
- Common/DTS.CommonCore/Interface/Groups/GroupList/TestSetupParentHelper.cs
|
||||
- Common/DTS.CommonCore/Interface/Groups/GroupList/IGroupListViewModel.cs
|
||||
- Common/DTS.CommonCore/Interface/Groups/GroupList/IGroup.cs
|
||||
generated_at: "2026-04-17T16:34:45.339712+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "3f7efb55ec13b58e"
|
||||
---
|
||||
|
||||
# Documentation: DTS.Common.Interface.Groups.GroupList
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines the core interfaces and a helper class for the Group List feature within the DTS system. It establishes the contract for group management, including viewing, filtering, sorting, CRUD operations, hardware association, channel configuration, XML serialization, and test setup relationships. The module serves as the abstraction layer between group data entities and their presentation/view logic.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### `IGroupListView`
|
||||
**Signature:** `public interface IGroupListView : IBaseView { }`
|
||||
|
||||
A marker interface extending `IBaseView`. No members are defined; it serves as a type identifier for group list view implementations.
|
||||
|
||||
---
|
||||
|
||||
### `TestSetupParentHelper`
|
||||
**Signature:** `public class TestSetupParentHelper`
|
||||
|
||||
A POCO helper class for associating test setup information with groups.
|
||||
|
||||
| Member | Type | Description |
|
||||
|--------|------|-------------|
|
||||
| `Id` | `int` | Public field for test setup identifier. |
|
||||
| `Name` | `string` | Property for test setup name. |
|
||||
| `Modified` | `bool` | Property tracking modification state. |
|
||||
| `ToString()` | `string` | Override returning the `Name` property. |
|
||||
|
||||
---
|
||||
|
||||
### `IGroupListViewModel`
|
||||
**Signature:** `public interface IGroupListViewModel : IBaseViewModel, IFilterableListView`
|
||||
|
||||
Defines the contract for a group list view model with filtering capabilities.
|
||||
|
||||
| Member | Signature | Description |
|
||||
|--------|-----------|-------------|
|
||||
| `View` | `IGroupListView { get; set; }` | Associated view instance. |
|
||||
| `Groups` | `IGroup[] { get; set; }` | Array of groups managed by this view model. |
|
||||
| `Unset` | `void Unset()` | Clears or resets the view model state. |
|
||||
| `Sort` | `void Sort(object o, bool columnClick)` | Sorts groups; parameters' specific meanings unclear from source. |
|
||||
| `OnSetActive` | `void OnSetActive(object page, bool groupTile, object currentUser)` | Called when the view becomes active; parameter types are generic `object`. |
|
||||
| `MouseDoubleClick` | `void MouseDoubleClick(int index)` | Handles double-click interaction on a group at the specified index. |
|
||||
| `Filter` | `void Filter(string term)` | Filters the group list by search term. |
|
||||
| `GetGroup` | `IGroup GetGroup(int? id, bool updateTags = true)` | Retrieves a group
|
||||
Reference in New Issue
Block a user