96 lines
3.0 KiB
Markdown
96 lines
3.0 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.Common/Interface/Viewer/TestDefinition/ITestMetadata.cs
|
||
|
|
- Common/DTS.Common/Interface/Viewer/TestDefinition/ITestGraphs.cs
|
||
|
|
- Common/DTS.Common/Interface/Viewer/TestDefinition/ITestSetupMetadata.cs
|
||
|
|
- Common/DTS.Common/Interface/Viewer/TestDefinition/ITestSummary.cs
|
||
|
|
- Common/DTS.Common/Interface/Viewer/TestDefinition/ITestRunMetadata.cs
|
||
|
|
- Common/DTS.Common/Interface/Viewer/TestDefinition/ITestModule.cs
|
||
|
|
- Common/DTS.Common/Interface/Viewer/TestDefinition/ITestChannel.cs
|
||
|
|
- Common/DTS.Common/Interface/Viewer/TestDefinition/ITestCalculatedChannel.cs
|
||
|
|
generated_at: "2026-04-17T15:33:20.599457+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "4dd2bd7f7bafbe51"
|
||
|
|
---
|
||
|
|
|
||
|
|
# Documentation: DTS.Common.Interface Test Definition Interfaces
|
||
|
|
|
||
|
|
## 1. Purpose
|
||
|
|
|
||
|
|
This module defines a set of interfaces for modeling test definition metadata within the DTS (presumably Data Test System) application. It provides the data contract abstractions for test runs, test setups, modules, channels, and graph configurations. These interfaces serve as the public API for test metadata throughout the system, enabling decoupling between test data storage, processing, and visualization components. The interfaces support property change notification patterns, suggesting use in data-binding scenarios such as UI views.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 2. Public Interface
|
||
|
|
|
||
|
|
### `ITestMetadata`
|
||
|
|
**Namespace:** `DTS.Common.Interface.TestDefinition`
|
||
|
|
|
||
|
|
Container interface aggregating test run and setup metadata.
|
||
|
|
|
||
|
|
```csharp
|
||
|
|
public interface ITestMetadata
|
||
|
|
{
|
||
|
|
ITestRunMetadata TestRun { get; set; }
|
||
|
|
ITestSetupMetadata TestSetup { get; set; }
|
||
|
|
}
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### `ITestRunMetadata`
|
||
|
|
**Namespace:** `DTS.Common.Interface`
|
||
|
|
|
||
|
|
Represents metadata for a test run execution. Implements `INotifyPropertyChanged`.
|
||
|
|
|
||
|
|
```csharp
|
||
|
|
public interface ITestRunMetadata : INotifyPropertyChanged
|
||
|
|
{
|
||
|
|
string Id { get; set; }
|
||
|
|
string Description { get; set; }
|
||
|
|
bool InlineSerializedData { get; set; }
|
||
|
|
string TestGuid { get; set; }
|
||
|
|
int FaultFlags { get; set; }
|
||
|
|
string Software { get; set; }
|
||
|
|
string SoftwareVersion { get; set; }
|
||
|
|
string DataType { get; set; }
|
||
|
|
List<ITestModule> Modules { get; set; }
|
||
|
|
List<ITestChannel> Channels { get; set; }
|
||
|
|
List<ITestChannel> CalculatedChannels { get; set; }
|
||
|
|
}
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### `ITestSetupMetadata`
|
||
|
|
**Namespace:** `DTS.Common.Interface`
|
||
|
|
|
||
|
|
Represents configuration metadata for a test setup.
|
||
|
|
|
||
|
|
```csharp
|
||
|
|
public interface ITestSetupMetadata
|
||
|
|
{
|
||
|
|
string Name { get; set; }
|
||
|
|
DateTime TestDate { get; set; }
|
||
|
|
DateTime TimeStamp { get; set; }
|
||
|
|
List<ITestGraphs> TestGraphs { get; set; }
|
||
|
|
}
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### `ITestSummary`
|
||
|
|
**Namespace:** `DTS.Common.Interface.TestDefinition`
|
||
|
|
|
||
|
|
Represents a summary view of a test. Implements `IBaseClass`.
|
||
|
|
|
||
|
|
```csharp
|
||
|
|
public interface ITestSummary : IBaseClass
|
||
|
|
{
|
||
|
|
string Id { get; set; }
|
||
|
|
string Name { get; set; }
|
||
|
|
string Description { get; set; }
|
||
|
|
int ChannelCount { get; set; }
|
||
|
|
DateTime TestDate { get; set; }
|
||
|
|
string DataType { get;
|