init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/CalculatedChannel/IAddCalculatedChannelView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/CalculatedChannel/IAddCalculatedChannelViewModel.cs
|
||||
generated_at: "2026-04-17T16:07:17.602479+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "e969b5e4f8566e76"
|
||||
---
|
||||
|
||||
# CalculatedChannel
|
||||
|
||||
### Purpose
|
||||
This module defines the contract for the "Add Calculated Channel" feature within the DTS Viewer application. It provides interfaces for the view and view model responsible for creating and configuring calculated channels, including support for search regions, command binding, and ISO export configuration. The module follows the MVVM pattern to enable testable and decoupled calculated
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/ChartOptions/IChartOptionsView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/ChartOptions/IChartOptionsViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/ChartOptions/IChartOptionsModel.cs
|
||||
generated_at: "2026-04-17T16:04:42.771600+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "4121bbfb53575890"
|
||||
---
|
||||
|
||||
# ChartOptions
|
||||
|
||||
### Purpose
|
||||
This module defines the contract for chart configuration and visualization options within the DTS Viewer subsystem. It provides the MVC-style interfaces (`IChartOptionsView`, `IChartOptionsViewModel`, `IChartOptionsModel`) that abstract chart display settings including axis scaling, cursors, filters, units, and export capabilities. This enables decoupling of chart rendering logic from business logic and facilitates
|
||||
77
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Filter.md
Normal file
77
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Filter.md
Normal file
@@ -0,0 +1,77 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Filter/IFilterView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Filter/IFilterViewModel.cs
|
||||
generated_at: "2026-04-17T16:37:44.981726+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "b90d5e3a8e3dbbca"
|
||||
---
|
||||
|
||||
# Documentation: Filter View Interfaces
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines two interfaces—`IFilterView` and `IFilterViewModel`—that establish the contract for filter-related components within a View/ViewModel architecture. These interfaces extend base types (`IBaseView` and `IBaseViewModel`) to specialize behavior for filtering and search contexts, enabling a decoupled design where filter views can interact with their parent view models and manage search region state.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### `IFilterView`
|
||||
**File:** `Common/DTS.Common/Interface/DTS.Viewer/Filter/IFilterView.cs`
|
||||
|
||||
**Signature:**
|
||||
```csharp
|
||||
public interface IFilterView : IBaseView { }
|
||||
```
|
||||
|
||||
**Description:** A marker interface that extends `IBaseView`. It defines no members of its own; its purpose is to distinguish filter views from other view types in the system.
|
||||
|
||||
---
|
||||
|
||||
### `IFilterViewModel`
|
||||
**File:** `Common/DTS.Common/Interface/DTS.Viewer/Filter/IFilterViewModel.cs`
|
||||
|
||||
**Signature:**
|
||||
```csharp
|
||||
public interface IFilterViewModel : IBaseViewModel
|
||||
{
|
||||
IBaseView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
object ContextSearchRegion { get; set; }
|
||||
}
|
||||
```
|
||||
|
||||
**Description:** An interface for filter view models, extending `IBaseViewModel`. Defines the following properties:
|
||||
|
||||
| Property | Type | Accessor | Description |
|
||||
|----------|------|----------|-------------|
|
||||
| `View` | `IBaseView` | get/set | The Search View associated with this filter view model. |
|
||||
| `Parent` | `IBaseViewModel` | get/set | The parent view model in the hierarchy. |
|
||||
| `ContextSearchRegion` | `object` | get/set | A context object for the search region. |
|
||||
|
||||
---
|
||||
|
||||
## 3. Invariants
|
||||
|
||||
- `IFilterView` must always be assignable to `IBaseView`.
|
||||
- `IFilterViewModel` must always be assignable to `IBaseViewModel`.
|
||||
- The `View` property on `IFilterViewModel` implementations is expected to hold a reference to an `IBaseView` instance (though nullability is not specified in the source).
|
||||
- The `Parent` property establishes a hierarchical relationship between view models; the exact parent-child semantics are not defined in these interfaces alone.
|
||||
|
||||
---
|
||||
|
||||
## 4. Dependencies
|
||||
|
||||
### This module depends on:
|
||||
- **`DTS.Common.Base`** — Provides `IBaseView` and `IBaseViewModel` base interfaces that `IFilterView` and `IFilterViewModel` extend.
|
||||
|
||||
### What depends on this module:
|
||||
- **Unknown from source alone.** No consumers of these interfaces are present in the provided files.
|
||||
|
||||
---
|
||||
|
||||
## 5. Gotchas
|
||||
|
||||
1. **Namespace/file location mismatch:** The file `IFilterViewModel.cs` contains a `// ReSharper disable CheckNamespace` directive, indicating the declared namespace
|
||||
59
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Graphs.md
Normal file
59
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Graphs.md
Normal file
@@ -0,0 +1,59 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphMainView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphChannelView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphPropertyView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IExportGraphMainView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/ITestDataView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphPropertyViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/ITestDataSeriesView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/ITestDataViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/ITestDataSeriesViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphChannelViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphMainViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/IExportGraphMainViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Graphs/ITestDataSeries.cs
|
||||
generated_at: "2026-04-17T15:29:11.920378+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "fd4c81d636010560"
|
||||
---
|
||||
|
||||
# Documentation: DTS.Common.Interface Graph Interfaces
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines the contract interfaces for a graph visualization subsystem within the DTS application. It implements the Model-View-ViewModel (MVVM) pattern to separate concerns between test data representation (`ITestDataSeries`), presentation logic (ViewModel interfaces), and UI rendering (View interfaces). The interfaces support displaying, manipulating, and exporting test data series with features including channel selection, channel locking mechanisms, event filtering, and PDF/CSV export capabilities.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### View Interfaces
|
||||
|
||||
#### `IGraphMainView`
|
||||
- **Signature:** `public interface IGraphMainView : IBaseView { }`
|
||||
- **Behavior:** Marker interface for the main graph view. No members defined; extends `IBaseView`.
|
||||
|
||||
#### `IGraphChannelView`
|
||||
- **Signature:** `public interface IGraphChannelView : IBaseView { }`
|
||||
- **Behavior:** Marker interface for graph channel selection view. No members defined; extends `IBaseView`.
|
||||
|
||||
#### `IGraphPropertyView`
|
||||
- **Signature:** `public interface IGraphPropertyView : IBaseView { }`
|
||||
- **Behavior:** Marker interface for graph property view. No members defined; extends `IBaseView`.
|
||||
|
||||
#### `IExportGraphMainView`
|
||||
- **Signature:** `public interface IExportGraphMainView : IBaseView { }`
|
||||
- **Behavior:** Marker interface for the export graph main view. No members defined; extends `IBaseView`.
|
||||
|
||||
#### `ITestDataView`
|
||||
- **Signature:** `public interface ITestDataView : IBaseView { }`
|
||||
- **Behavior:** Marker interface for test data view. No members defined; extends `IBaseView`.
|
||||
|
||||
#### `ITestDataSeriesView`
|
||||
- **Signature:** `public interface ITestDataSeriesView : IBaseView`
|
||||
- **Members:**
|
||||
- `bool SaveReportToPDF(string directory)` — Saves the report to
|
||||
38
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Legend.md
Normal file
38
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Legend.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Legend/ILegendView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Legend/ILegendViewModel.cs
|
||||
generated_at: "2026-04-17T16:06:49.136163+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "f447774506b0d21c"
|
||||
---
|
||||
|
||||
# Legend
|
||||
|
||||
### Purpose
|
||||
This module defines the view and ViewModel interfaces for a Legend component within the DTS Viewer. The ViewModel interface provides access to its associated view, suggesting a composition pattern where the ViewModel owns a reference to its View.
|
||||
|
||||
### Public Interface
|
||||
|
||||
**`ILegendView`** (interface)
|
||||
- Inherits from: `IBaseView`
|
||||
- No members defined. Serves as a marker interface for Legend views.
|
||||
|
||||
**`ILegendViewModel`** (interface)
|
||||
- Inherits from: `IBaseViewModel`
|
||||
- Members:
|
||||
- `ILegendView View { get; }` — Gets the Tab View associated with this ViewModel.
|
||||
|
||||
### Invariants
|
||||
- `ILegendViewModel.View` must return a valid `ILegendView` implementation.
|
||||
- The XML comment indicates this view is specifically a "Tab View", suggesting the Legend is rendered as a tabbed interface element.
|
||||
|
||||
### Dependencies
|
||||
- **Depends on**: `DTS.Common.Base` (for `IBaseView` and `IBaseViewModel`)
|
||||
- **Depended on by**: Unknown from source alone (likely concrete Legend implementations and Viewer composition)
|
||||
|
||||
### Gotchas
|
||||
- The XML documentation refers to "Tab View" which may indicate specific UI placement expectations not evident from the interface alone.
|
||||
|
||||
---
|
||||
35
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/MainView.md
Normal file
35
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/MainView.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/MainView/IMainView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/MainView/IViewerMainView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/MainView/IExportMainView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/MainView/IExportMainViewGrid.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/MainView/IViewerMainViewGrid.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/MainView/IMainViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/MainView/IViewerMainViewModel.cs
|
||||
generated_at: "2026-04-17T16:03:43.916694+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "e4112aa5a4639709"
|
||||
---
|
||||
|
||||
# MainView
|
||||
|
||||
### Purpose
|
||||
This module defines the core View and ViewModel interfaces for the main DTS Viewer application shell. It establishes the region-based UI composition pattern used throughout the application, defining placeholders for navigation, graphs, tests, legends, diagnostics, statistics, cursors, and property panels. The module supports both standard viewer and export modes of operation.
|
||||
|
||||
### Public Interface
|
||||
|
||||
**IMainView**
|
||||
- `interface IMainView : IBaseView` - Marker interface for main views. No members defined.
|
||||
|
||||
**IViewerMainView**
|
||||
- `interface IViewerMainView : IBaseView` - Marker interface for viewer main views. No members defined.
|
||||
|
||||
**IExportMainView**
|
||||
- `interface IExportMainView : IBaseView` - Marker interface for export main views. No members defined.
|
||||
|
||||
**IExportMainViewGrid**
|
||||
- `interface IExportMainViewGrid : IBaseView` - Marker interface for export main view grid. No members defined.
|
||||
|
||||
**IViewerMainView
|
||||
38
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Menu.md
Normal file
38
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Menu.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Menu/IMenuView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Menu/IMenuViewModel.cs
|
||||
generated_at: "2026-04-17T16:07:17.601881+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "96e762e96eb06952"
|
||||
---
|
||||
|
||||
# Menu
|
||||
|
||||
### Purpose
|
||||
This module defines the contract for menu-related views and view models within the DTS Viewer application. It provides the interface abstractions necessary for implementing menu UI components following the MVVM pattern, allowing menu functionality to be consumed without tight coupling to specific implementations.
|
||||
|
||||
### Public Interface
|
||||
|
||||
**IMenuView** (interface)
|
||||
- Inherits from: `IBaseView`
|
||||
- No additional members defined. Serves as a marker interface for menu-specific views.
|
||||
|
||||
**IMenuViewModel** (interface)
|
||||
- Inherits from: `IBaseViewModel`
|
||||
- `IMenuView View { get; }` - Gets the Shell View (as documented). Read-only property providing access to the associated menu view instance.
|
||||
|
||||
### Invariants
|
||||
- `IMenuView` must always be assignable to `IBaseView`.
|
||||
- `IMenuViewModel` must always be assignable to `IBaseViewModel`.
|
||||
- The `View` property must return a valid `IMenuView` instance when accessed on a properly initialized implementation.
|
||||
|
||||
### Dependencies
|
||||
- **Depends on**: `DTS.Common.Base` (specifically `IBaseView` and `IBaseViewModel` interfaces)
|
||||
- **Depended on by**: Unknown from source alone (likely concrete menu implementations and shell/main window components)
|
||||
|
||||
### Gotchas
|
||||
- The XML documentation comment references "Shell View" for the `View` property, which appears inconsistent with the property name and return type. This is likely a documentation error from copy-paste; the property returns a menu view, not a shell view.
|
||||
|
||||
---
|
||||
38
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Navigation.md
Normal file
38
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/Navigation.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Navigation/INavigationView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Navigation/INavigationViewModel.cs
|
||||
generated_at: "2026-04-17T16:07:17.600445+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "939a3a0ee1041138"
|
||||
---
|
||||
|
||||
# Navigation
|
||||
|
||||
### Purpose
|
||||
This module defines the contract for navigation-related views and view models within the DTS Viewer application. It establishes the interface hierarchy for navigation components, enabling a decoupled architecture where navigation views can be managed and accessed through their view models. The module serves as an abstraction layer for navigation UI components in what appears to be an MVVM (Model-View-ViewModel) pattern.
|
||||
|
||||
### Public Interface
|
||||
|
||||
**INavigationView** (interface)
|
||||
- Inherits from: `IBaseView`
|
||||
- No additional members defined. Serves as a marker interface for navigation-specific views.
|
||||
|
||||
**INavigationViewModel** (interface)
|
||||
- Inherits from: `IBaseViewModel`
|
||||
- `INavigationView NavigationView { get; }` - Gets the Shell View (as documented). Read-only property providing access to the associated navigation view instance.
|
||||
|
||||
### Invariants
|
||||
- `INavigationView` must always be assignable to `IBaseView`.
|
||||
- `INavigationViewModel` must always be assignable to `IBaseViewModel`.
|
||||
- The `NavigationView` property must return a valid `INavigationView` instance (not null) when accessed on a properly initialized implementation.
|
||||
|
||||
### Dependencies
|
||||
- **Depends on**: `DTS.Common.Base` (specifically `IBaseView` and `IBaseViewModel` interfaces)
|
||||
- **Depended on by**: Unknown from source alone (likely concrete navigation implementations and higher-level shell/coordination components)
|
||||
|
||||
### Gotchas
|
||||
- The XML documentation comment references "Shell View" for `NavigationView`, which may be a copy-paste artifact or indicate the navigation view serves as a shell container. The actual purpose should be verified against implementations.
|
||||
|
||||
---
|
||||
@@ -0,0 +1,62 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Reports/PowerSpectralDensity/IPSDReportMainViewGrid.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Reports/PowerSpectralDensity/IPSDReportResultsView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Reports/PowerSpectralDensity/IPSDReportSettingsView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Reports/PowerSpectralDensity/IPSDReportMainView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Reports/PowerSpectralDensity/IChannelGRMSSummary.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Reports/PowerSpectralDensity/IPSDReportSettingsViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Reports/PowerSpectralDensity/IPSDReportResultsViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Reports/PowerSpectralDensity/IPSDReportSettingsModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/Reports/PowerSpectralDensity/IPSDReportMainViewModel.cs
|
||||
generated_at: "2026-04-17T16:34:18.295555+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "5d991aa3a580f849"
|
||||
---
|
||||
|
||||
# Documentation: DTS.Common.Interface - PSD Report Module
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines the interface contracts for the Power Spectral Density (PSD) Report feature within the DTS Viewer application. It establishes a Model-View-ViewModel (MVVM) architecture, providing interfaces for the main report view, settings configuration, results display, and associated data models. The module enables PSD analysis with configurable filtering, windowing, and averaging options, and supports exporting results to PDF and CSV formats.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### View Interfaces
|
||||
|
||||
#### `IPSDReportMainView`
|
||||
- **Signature:** `public interface IPSDReportMainView : IBaseView`
|
||||
- **Behavior:** Marker interface for the main PSD report view. No members defined beyond `IBaseView` inheritance.
|
||||
|
||||
#### `IPSDReportMainViewGrid`
|
||||
- **Signature:** `public interface IPSDReportMainViewGrid : IBaseView`
|
||||
- **Behavior:** Marker interface for a grid component within the main PSD report view.
|
||||
|
||||
#### `IPSDReportSettingsView`
|
||||
- **Signature:** `public interface IPSDReportSettingsView : IBaseView`
|
||||
- **Behavior:** Marker interface for the PSD report settings configuration view.
|
||||
|
||||
#### `IPSDReportResultsView`
|
||||
- **Signature:** `public interface IPSDReportResultsView : IBaseView`
|
||||
- **Behavior:** Marker interface for the PSD report results display view.
|
||||
|
||||
---
|
||||
|
||||
### ViewModel Interfaces
|
||||
|
||||
#### `IPSDReportMainViewModel`
|
||||
- **Signature:** `public interface IPSDReportMainViewModel : IBaseViewModel, ISelectedDataViewModel`
|
||||
- **Behavior:** Main view model coordinating the PSD report feature. Manages navigation regions, user permissions, zoom state, and keyboard navigation.
|
||||
- **Members:**
|
||||
- `IBaseView View { get; set; }` — The associated main view.
|
||||
- `object ContextNavigationRegion { get; set; }` — Navigation region context.
|
||||
- `object ContextGraphRegion { get; set; }` — Graph region context.
|
||||
- `object ContextTestsRegion { get; set; }` — Tests region context.
|
||||
- `object ContextGraphsRegion { get; set; }` — Graphs region context.
|
||||
- `object ContextLegendRegion { get; set; }` — Legend region context.
|
||||
- `object ContextPropertyRegion { get; set; }` — Property region context.
|
||||
- `List<FrameworkElement> GetRegions()` — Returns a list of framework elements representing regions.
|
||||
- `string
|
||||
106
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/TestDefinition.md
Normal file
106
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/TestDefinition.md
Normal file
@@ -0,0 +1,106 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestDefinition/ITestMetadata.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestDefinition/ITestGraphs.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestDefinition/ITestSetupMetadata.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestDefinition/ITestEvent.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestDefinition/ITestSummary.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestDefinition/ITestRunMetadata.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestDefinition/ITestModule.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestDefinition/ITestCalculatedChannel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestDefinition/ITestChannel.cs
|
||||
generated_at: "2026-04-17T15:32:19.198752+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "91e6a7da71bfb107"
|
||||
---
|
||||
|
||||
# Test Definition Interfaces Documentation
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines the core data contracts for the DTS (Data Test System) test definition hierarchy. It provides interfaces that model the complete structure of a test run: from high-level metadata containers (`ITestMetadata`) down to individual data channels (`ITestChannel`, `ITestCalculatedChannel`). These interfaces represent test setups, hardware modules, channel configurations, calibration parameters, and statistical measurements, enabling the system to serialize, deserialize, and manipulate test data across the application. The interfaces serve as the abstraction layer between data persistence and the application logic.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### `ITestMetadata`
|
||||
**Namespace:** `DTS.Common.Interface.TestDefinition`
|
||||
|
||||
Root container interface aggregating test run and setup metadata.
|
||||
|
||||
| Property | Type | Access |
|
||||
|----------|------|--------|
|
||||
| `TestRun` | `ITestRunMetadata` | get/set |
|
||||
| `TestSetup` | `ITestSetupMetadata` | get/set |
|
||||
|
||||
---
|
||||
|
||||
### `ITestRunMetadata`
|
||||
**Namespace:** `DTS.Common.Interface`
|
||||
|
||||
Defines runtime metadata for a test execution. Implements `INotifyPropertyChanged`.
|
||||
|
||||
| Property | Type | Access |
|
||||
|----------|------|--------|
|
||||
| `Name` | `string` | get/set |
|
||||
| `Id` | `string` | get/set |
|
||||
| `Description` | `string` | get/set |
|
||||
| `InlineSerializedData` | `bool` | get/set |
|
||||
| `TestGuid` | `string` | get/set |
|
||||
| `FaultFlags` | `int` | get/set |
|
||||
| `Software` | `string` | get/set |
|
||||
| `SoftwareVersion` | `string` | get/set |
|
||||
| `DataType` | `string` | get/set |
|
||||
| `FileDate` | `DateTime` | get/set |
|
||||
| `FilePath` | `string` | get/set |
|
||||
| `Modules` | `List<ITestModule>` | get/set |
|
||||
| `Channels` | `List<ITestChannel>` | get/set |
|
||||
| `CalculatedChannels` | `List<ITestChannel>` | get/set |
|
||||
|
||||
---
|
||||
|
||||
### `ITestSetupMetadata`
|
||||
**Namespace:** `DTS.Common.Interface`
|
||||
|
||||
Defines configuration metadata for a test setup.
|
||||
|
||||
| Property | Type | Access |
|
||||
|----------|------|--------|
|
||||
| `SetupName` | `string` | get/set |
|
||||
| `TimeStamp` | `DateTime` | get/set |
|
||||
| `TestGraphs` | `List<ITestGraphs>` | get/set |
|
||||
| `CalibrationBehavior` | `CalibrationBehaviors` | get/set |
|
||||
|
||||
---
|
||||
|
||||
### `ITestModule`
|
||||
**Namespace:** `DTS.Common.Interface`
|
||||
|
||||
Represents a hardware module used during test recording. Implements `INotifyPropertyChanged`.
|
||||
|
||||
| Property | Type | Access |
|
||||
|----------|------|--------|
|
||||
| `SerialNumber` | `string` | get/set |
|
||||
| `BaseSerialNumber` | `string` | get/set |
|
||||
| `AaFilterRateHz` | `int` | get/set |
|
||||
| `Number` | `int` | get/set |
|
||||
| `NumberOfSamples` | `int` | get/set |
|
||||
| `UnsubsampledNumberOfSamples` | `int` | get/set |
|
||||
| `RequestedPostTriggerSeconds` | `double` | get/set |
|
||||
| `RequestedPreTriggerSeconds` | `double` | get/set |
|
||||
| `PostTriggerSeconds` | `double` | get/set |
|
||||
| `PreTriggerSeconds` | `double` | get/set |
|
||||
| `RecordingMode` | `string` | get/set |
|
||||
| `SampleRateHz` | `int` | get/set |
|
||||
| `StartRecordSampleNumber` | `int` | get/set |
|
||||
| `NumberOfChannels` | `int` | get/set |
|
||||
| `InlineSerializedData` | `bool` | get/set |
|
||||
| `StartRecordTimestampSec` | `int` | get/set |
|
||||
| `StartRecordTimestampNanoSec` | `int` | get/set |
|
||||
| `TriggerTimestampSec` | `int` | get/set |
|
||||
| `TriggerTimestampNanoSec` | `int` | get/set |
|
||||
| `TriggerSampleNumbers` | `List<ulong>` | get/set |
|
||||
| `PTPMasterSync` | `bool` | get/set |
|
||||
| `TiltSensorAxisXDegreesPre`
|
||||
@@ -0,0 +1,56 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestModification/ITestModificationView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestModification/ITestModificationViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestModification/ITestModificationModel.cs
|
||||
generated_at: "2026-04-17T16:35:54.913135+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "e3203bdeab45d508"
|
||||
---
|
||||
|
||||
# Documentation: Test Modification Module
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines the contract for a Test Modification feature within the DTS Viewer application. It provides interfaces for modifying test channel properties—including description, EU multiplier/offset, timing parameters (T0, T1, T2), sensitivity, software filters, and data flags—while tracking which fields have been modified. The module follows a Model-View-ViewModel (MVVM) pattern and supports persisting calibration updates to a database.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### `ITestModificationView`
|
||||
**Namespace:** `DTS.Common.Interface`
|
||||
|
||||
A marker interface extending `IBaseView` with no additional members. Represents the view component in the MVVM architecture for test modification.
|
||||
|
||||
---
|
||||
|
||||
### `ITestModificationViewModel`
|
||||
**Namespace:** `DTS.Common.Interface`
|
||||
|
||||
Extends `IBaseViewModel`. Coordinates between the view and model for test modification operations.
|
||||
|
||||
| Member | Type | Description |
|
||||
|--------|------|-------------|
|
||||
| `View` | `ITestModificationView` | Gets or sets the associated view instance. |
|
||||
| `Parent` | `IBaseViewModel` | Gets or sets the parent view model in the hierarchy. |
|
||||
| `UseISOCodeFilterMapping` | `bool` | Controls whether ISO code should be modified when software filter is modified. |
|
||||
| `UseZeroForUnfiltered` | `bool` | Controls whether '0' or 'P' is used when ISO code is modified due to software filter change. |
|
||||
| `PublishChanges()` | `void` | Publishes pending modifications. |
|
||||
| `UpdateDatabaseMethod()` | `void` | Updates the sensor calibration in the database. |
|
||||
|
||||
---
|
||||
|
||||
### `ITestModificationModel`
|
||||
**Namespace:** `DTS.Common.Interface`
|
||||
|
||||
Extends `IBaseModel`. Holds the state and data for test modification operations.
|
||||
|
||||
**Hierarchy & Context:**
|
||||
|
||||
| Member | Type | Description |
|
||||
|--------|------|-------------|
|
||||
| `Parent` | `ITestModificationViewModel` | Gets or sets the parent view model. |
|
||||
| `SelectedChannel` | `ITestChannel` | Gets or sets the channel on which modifications are based. |
|
||||
| `Sensor` | `ISensorDbRecord` | Gets or sets the sensor database
|
||||
14
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/TestModule.md
Normal file
14
docs/ai/Common/DTS.Common/Interface/DTS.Viewer/TestModule.md
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestModule/ITestModuleView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestModule/ITestModuleViewModel.cs
|
||||
generated_at: "2026-04-17T16:06:49.137304+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "e89ca848bbbf81f1"
|
||||
---
|
||||
|
||||
# TestModule
|
||||
|
||||
### Purpose
|
||||
This module defines the view and ViewModel interfaces for a Test Module component within the DTS Viewer. The ViewModel interface exposes a list of assemblies, suggesting this module is responsible for loading, displaying, or managing test assemblies at
|
||||
@@ -0,0 +1,40 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestSummary/ITestSummaryListView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestSummary/ITestSummaryListViewModel.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/TestSummary/ITestSummary.cs
|
||||
generated_at: "2026-04-17T16:35:54.965034+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "86cadf2a62297314"
|
||||
---
|
||||
|
||||
# Documentation: Test Summary Interfaces
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines the contract for displaying and managing a list of test summaries within the DTS Viewer application. It follows a Model-View-ViewModel (MVVM) pattern, providing `ITestSummaryListView` (the view abstraction), `ITestSummaryListViewModel` (the presentation logic), and `ITestSummary` (the data model for individual test summaries). The module exists to decouple the UI layer from business logic and to provide a standardized way to interact with test summary data, including selection management and collection change notifications.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### `ITestSummaryListView`
|
||||
**Namespace:** `DTS.Common.Interface`
|
||||
**Inherits:** `IBaseView`
|
||||
|
||||
A marker interface representing the view component for the test summary list. No members are defined beyond those inherited from `IBaseView`.
|
||||
|
||||
---
|
||||
|
||||
### `ITestSummaryListViewModel`
|
||||
**Namespace:** `DTS.Common.Interface`
|
||||
**Inherits:** `IBaseViewModel`
|
||||
|
||||
| Member | Type | Description |
|
||||
|--------|------|-------------|
|
||||
| `View` | `ITestSummaryListView` (read-only) | Gets the Shell View associated with this ViewModel. |
|
||||
| `TestSummaryList` | `ObservableCollection<ITestSummary>` | Observable collection of test summaries displayed in the list. Supports get and set. |
|
||||
| `SelectedTestSummaryList` | `List<ITestSummary>` | List of currently selected test summaries. Supports get and set. |
|
||||
| `PublishSelectedTestSummaryList()` | `void` | Publishes the currently selected test summaries (destination/mechanism not specified in interface). |
|
||||
| `TestSummaryList_CollectionChanged(object sender
|
||||
@@ -0,0 +1,30 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/ViewerSettings/IViewerSettingsView.cs
|
||||
- Common/DTS.Common/Interface/DTS.Viewer/ViewerSettings/IViewerSettingsViewModel.cs
|
||||
generated_at: "2026-04-17T16:25:11.108113+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "b76a7379ec13e4a2"
|
||||
---
|
||||
|
||||
# ViewerSettings
|
||||
|
||||
### Purpose
|
||||
This module defines the view and view model interfaces for viewer settings configuration within the DTS application. It follows an MVVM pattern, providing a contract for UI components that manage calibration behavior settings and overall viewer configuration. The module enables decoupling of the settings UI from its implementation, allowing different concrete views to be swapped while maintaining consistent behavior.
|
||||
|
||||
### Public Interface
|
||||
|
||||
**IViewerSettingsView**
|
||||
- Signature: `public interface IViewerSettingsView : IBaseView`
|
||||
- An empty marker interface extending `IBaseView` that identifies a view component for viewer settings.
|
||||
|
||||
**IViewerSettingsViewModel**
|
||||
- Signature: `public interface IViewerSettingsViewModel : IBaseViewModel`
|
||||
- Properties:
|
||||
- `IViewerSettingsView View { get; set; }` - Gets or sets the associated view instance.
|
||||
- `IBaseViewModel Parent { get; set; }` - Gets or sets the parent view model in the hierarchy.
|
||||
- `Visibility CalibrationBehaviorSettingVisibility { get; set; }` - Controls visibility of calibration behavior settings UI.
|
||||
- `Visibility OverallSettingsVisibility { get; }` - Read-only visibility state for overall settings section.
|
||||
- `DisplayedCalibrationBehavior[] AvailableCalibrationBehaviors { get; }` - Array of available calibration behavior options for selection.
|
||||
- `DisplayedCalibration
|
||||
Reference in New Issue
Block a user