80 lines
2.6 KiB
Markdown
80 lines
2.6 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.CommonCore/Interface/TestSetups/ITestSetupsView.cs
|
||
|
|
- Common/DTS.CommonCore/Interface/TestSetups/ITestSetupsViewModel.cs
|
||
|
|
- Common/DTS.CommonCore/Interface/TestSetups/ITestDASOrder.cs
|
||
|
|
- Common/DTS.CommonCore/Interface/TestSetups/IROIPeriodChannelRecord.cs
|
||
|
|
- Common/DTS.CommonCore/Interface/TestSetups/ITestSetupHardwareRecord.cs
|
||
|
|
- Common/DTS.CommonCore/Interface/TestSetups/ITestSetupROIRecord.cs
|
||
|
|
- Common/DTS.CommonCore/Interface/TestSetups/ICalculatedChannelRecord.cs
|
||
|
|
- Common/DTS.CommonCore/Interface/TestSetups/IISFFile.cs
|
||
|
|
generated_at: "2026-04-17T15:32:44.802703+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "5e61f761ff8b02fd"
|
||
|
|
---
|
||
|
|
|
||
|
|
# Documentation: DTS.Common.Interface.TestSetups
|
||
|
|
|
||
|
|
## 1. Purpose
|
||
|
|
|
||
|
|
This module defines the data contracts and interfaces for the TestSetups subsystem within DTS.CommonCore. It provides abstractions for test setup configuration including Data Acquisition System (DAS) hardware records, Region of Interest (ROI) definitions, calculated channel configurations, and ISF (Instrumentation Setup File) file format handling for sensor calibration data. These interfaces serve as the boundary layer between test setup data persistence and the application logic.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 2. Public Interface
|
||
|
|
|
||
|
|
### ITestSetupsView
|
||
|
|
```csharp
|
||
|
|
public interface ITestSetupsView : IBaseView
|
||
|
|
```
|
||
|
|
Marker interface extending `IBaseView`. No members defined.
|
||
|
|
|
||
|
|
### ITestSetupsViewModel
|
||
|
|
```csharp
|
||
|
|
public interface ITestSetupsViewModel : IBaseViewModel
|
||
|
|
```
|
||
|
|
Marker interface extending `IBaseViewModel`. No members defined.
|
||
|
|
|
||
|
|
### ITestDASOrder
|
||
|
|
```csharp
|
||
|
|
public interface ITestDASOrder
|
||
|
|
```
|
||
|
|
Allows DAS (Data Acquisition System) to be ordered within a test setup.
|
||
|
|
|
||
|
|
| Property | Type | Access |
|
||
|
|
|----------|------|--------|
|
||
|
|
| `DASIndex` | `int` | get/set |
|
||
|
|
|
||
|
|
### IROIPeriodChannelRecord
|
||
|
|
```csharp
|
||
|
|
public interface IROIPeriodChannelRecord
|
||
|
|
```
|
||
|
|
Describes a record in the ROIPeriodChannels table.
|
||
|
|
|
||
|
|
| Property | Type | Access |
|
||
|
|
|----------|------|--------|
|
||
|
|
| `TestSetupROIId` | `int` | get/set |
|
||
|
|
| `ChannelName` | `string` | get/set |
|
||
|
|
|
||
|
|
### ITestSetupHardwareRecord
|
||
|
|
```csharp
|
||
|
|
public interface ITestSetupHardwareRecord
|
||
|
|
```
|
||
|
|
Describes hardware records for test setup configuration.
|
||
|
|
|
||
|
|
| Property | Type | Access |
|
||
|
|
|----------|------|--------|
|
||
|
|
| `DASId` | `int` | get/set |
|
||
|
|
| `TestSetupId` | `int` | get/set |
|
||
|
|
| `AddDAS` | `bool` | get/set |
|
||
|
|
| `SamplesPerSecond` | `int` | get/set |
|
||
|
|
| `IsClockMaster` | `bool` | get/set |
|
||
|
|
| `AntiAliasFilterRate` | `int` | get/set |
|
||
|
|
| `PTPDomainId` | `byte` | get/set |
|
||
|
|
|
||
|
|
### ITestSetupROIRecord
|
||
|
|
```csharp
|
||
|
|
public interface ITestSetupROIRecord
|
||
|
|
```
|
||
|
|
Describes a record in the TestSetup
|