Files

56 lines
4.4 KiB
Markdown
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
---
source_files:
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/ChannelSelectionCountNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/ChannelsModificationNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/ChannelSelectionChangeNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/GraphChannelReadCalcProgressChangedEvent.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/GraphChannelsReadCompletedNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/DataFileSelectedEvent.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/TestLoadedCountNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/GraphLoadedCountNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/TestSummaryCountNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/GraphClearNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/GraphSelectedEventCountNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/GraphSelectedChannelCountNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/GraphSelectedChannelsNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/GraphSelectedEventsNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/ChannelsModificationLineFitNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/TestSummaryChangeNotification.cs
- Common/DTS.Common/Events/DTS.Viewer/ViewerTestSummary/DataFolderChangedEvent.cs
generated_at: "2026-04-17T15:28:05.385787+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "9d06f7a32bf91d25"
---
# Documentation: DTS.Common.Events (ViewerTestSummary)
## 1. Purpose
This module defines a collection of Prism.Events-based pub/sub event types for the DTS Viewer's Test Summary functionality. It facilitates loosely-coupled communication between UI components regarding test data selection, graph state, channel modifications, and data file/folder operations. The events enable decoupled view models to broadcast and react to state changes without direct references, supporting the application's MVVM architecture.
---
## 2. Public Interface
### Events (all inherit from `PubSubEvent<T>`)
| Event Name | Payload Type | Description |
|------------|--------------|-------------|
| `ChannelSelectionCountNotification` | `int` | Broadcasts the count of selected channels. |
| `ChannelsModificationNotification` | `List<ITestChannel>` | Notifies when the collection of graph channels has been modified. |
| `ChannelSelectionChangeNotification` | `List<ITestChannel>` | Notifies when the selected test summary list changes. |
| `GraphChannelReadCalcProgressChangedEvent` | `GraphChannelReadCalcProgressChangedEventArgs` | Reports progress during graph channel read/calculation operations. |
| `GraphChannelsReadCompletedNotification` | `GraphChannelsReadCompletedNotificationArgs` | Signals completion of graph channel reading. |
| `DataFileSelectedEvent` | `DataFileSelectionArg` | Notifies when a data file is selected without triggering full folder change subscriptions. |
| `TestLoadedCountNotification` | `TestLoadedCountNotificationArg` | Broadcasts the count of loaded tests. |
| `GraphLoadedCountNotification` | `GraphLoadedCountNotificationArg` | Broadcasts the count of loaded graphs. |
| `TestSummaryCountNotification` | `TestSummaryCountNotificationArg` | Broadcasts the count of test summaries. |
| `GraphClearNotification` | `GraphClearNotificationArg` | Notifies when graphs should be cleared. |
| `GraphSelectedEventCountNotification` | `GraphSelectedEventCountNotificationArg` | Broadcasts the count of selected events in a graph. |
| `GraphSelectedChannelCountNotification` | `GraphSelectedChannelCountNotificationArg` | Broadcasts the count of selected channels in a graph. |
| `GraphSelectedChannelsNotification` | `GraphSelectedChannelsNotificationArg` | Notifies of the currently selected channels in a graph. |
| `GraphSelectedEventsNotification` | `GraphSelectedEventsNotificationArg` | Notifies of the currently selected events in a graph. |
| `ChannelsModificationLineFitNotification` | `LineFitArgs` | Notifies of line fit modifications with index range. |
| `TestSummaryChangeNotification` | `TestSummaryChangeNotificationArg` | Notifies when the test summary list changes. |
| `DataFolderChangedEvent` | `DataFolderSelectionArg` | Notifies when the data folder