init
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestDefinition/ITestMetadata.cs
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestDefinition/ITestGraphs.cs
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestDefinition/ITestSetupMetadata.cs
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestDefinition/ITestSummary.cs
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestDefinition/ITestRunMetadata.cs
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestDefinition/ITestModule.cs
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestDefinition/ITestChannel.cs
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestDefinition/ITestCalculatedChannel.cs
|
||||
generated_at: "2026-04-17T15:33:01.174238+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "ee7c427fef2edf2a"
|
||||
---
|
||||
|
||||
# Test Definition Interfaces Documentation
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines a set of interfaces for modeling test definition metadata within the DTS system. These interfaces represent the hierarchical structure of a test execution, including test runs, hardware modules, data channels (both physical and calculated), graphs, and setup configuration. The interfaces serve as data contracts for test visualization and analysis, supporting property change notification for UI binding scenarios. They appear to model data acquisition hardware configurations with extensive channel calibration, trigger timing, and sensor metadata.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### `ITestMetadata`
|
||||
**Namespace:** `DTS.Common.Interface.TestDefinition`
|
||||
|
||||
Root aggregate interface combining test run and setup metadata.
|
||||
|
||||
| Property | Type | Access |
|
||||
|----------|------|--------|
|
||||
| `TestRun` | `ITestRunMetadata` | get/set |
|
||||
| `TestSetup` | `ITestSetupMetadata` | get/set |
|
||||
|
||||
---
|
||||
|
||||
### `ITestRunMetadata`
|
||||
**Namespace:** `DTS.Common.Interface`
|
||||
|
||||
Inherits: `INotifyPropertyChanged`
|
||||
|
||||
Represents metadata for a single test run execution.
|
||||
|
||||
| Property | Type | Access |
|
||||
|----------|------|--------
|
||||
41
docs/ai/Common/DTS.CommonCore/Interface/Viewer/TestModule.md
Normal file
41
docs/ai/Common/DTS.CommonCore/Interface/Viewer/TestModule.md
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestModule/ITestModuleView.cs
|
||||
- Common/DTS.CommonCore/Interface/Viewer/TestModule/ITestModuleViewModel.cs
|
||||
generated_at: "2026-04-17T16:24:21.606627+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "14b231b3d5544fc3"
|
||||
---
|
||||
|
||||
# TestModule
|
||||
|
||||
### Purpose
|
||||
This module defines interfaces for test module components within the Viewer subsystem. It provides the View-ViewModel contract for test module UI, supporting dynamic assembly loading and test management functionality.
|
||||
|
||||
### Public Interface
|
||||
|
||||
**`ITestModuleView`**
|
||||
- Signature: `public interface ITestModuleView : IBaseView`
|
||||
- Description: Marker interface extending `IBaseView` for test module view components. No members defined.
|
||||
|
||||
**`ITestModuleViewModel`**
|
||||
- Signature: `public interface ITestModuleViewModel : IBaseViewModel`
|
||||
- Description: ViewModel interface for test modules with the following member:
|
||||
- `List<Assembly> AssemblyList { get; set; }` - Gets or sets the list of assemblies available for testing.
|
||||
|
||||
### Invariants
|
||||
- `AssemblyList` should contain valid `System.Reflection.Assembly` objects when populated.
|
||||
- The interface extends `IBaseViewModel`, implying implementations must also satisfy base ViewModel contracts.
|
||||
|
||||
### Dependencies
|
||||
- **Depends on**:
|
||||
- `DTS.Common.Base` (for `IBaseView`, `IBaseViewModel`)
|
||||
- `System.Collections.Generic` (for `List<T>`)
|
||||
- `System.Reflection` (for `Assembly`)
|
||||
- **Dependents**: Unknown from source alone.
|
||||
|
||||
### Gotchas
|
||||
- None identified from source alone.
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user