Files
DP44/docs/ai/Common/DTS.Common/Interface/Viewer/TestDefinition.md
2026-04-17 14:55:32 -04:00

3.0 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
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
2026-04-17T15:33:20.599457+00:00 zai-org/GLM-5-FP8 1 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.

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.

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.

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.

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;