init
This commit is contained in:
@@ -0,0 +1,86 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/ChartOptions/TimeUnitType.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/ChartOptions/FilterOption.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/ChartOptions/YRangeScale.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/ChartOptions/WakeMethodType.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/ChartOptions/ChartUnitType.cs
|
||||
generated_at: "2026-04-17T16:34:18.274852+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "17f23c64b5cf1df1"
|
||||
---
|
||||
|
||||
# Documentation: Chart Options Enums
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines a set of enumeration types used for configuring chart display options in the DTS Viewer component. These enums control time unit representation, data filtering, Y-axis scaling, device wake methods, and chart unit types. They are designed for integration with the Xceed WPF Toolkit PropertyGrid, providing both programmatic enum values and user-facing display strings via `Description` attributes.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### TimeUnitTypeEnum
|
||||
**Namespace:** `DTS.Common.Enums.Viewer`
|
||||
|
||||
```csharp
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum TimeUnitTypeEnum
|
||||
```
|
||||
|
||||
| Member | Value | Description |
|
||||
|--------|-------|-------------|
|
||||
| `MS` | 0 | "ms" - Milliseconds |
|
||||
| `Seconds` | 1 | "Seconds" |
|
||||
|
||||
---
|
||||
|
||||
### TimeUnitTypeItemSource
|
||||
**Namespace:** `DTS.Common.Enums.Viewer`
|
||||
|
||||
```csharp
|
||||
public class TimeUnitTypeItemSource : IItemsSource
|
||||
```
|
||||
|
||||
| Method | Return Type | Description |
|
||||
|--------|-------------|-------------|
|
||||
| `GetValues()` | `ItemCollection` | Returns a list of `TimeUnitTypeEnum` values for PropertyGrid dropdowns via `EnumUtil.GetValuesList<TimeUnitTypeEnum>()` |
|
||||
|
||||
---
|
||||
|
||||
### FilterOptionEnum
|
||||
**Namespace:** `DTS.Common.Enums.Viewer`
|
||||
|
||||
```csharp
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum FilterOptionEnum
|
||||
```
|
||||
|
||||
| Member | Value | Description |
|
||||
|--------|-------|-------------|
|
||||
| `Unfiltered` | 0 | "Unfiltered" |
|
||||
| `TestSetupDefault` | 1 | "Test Setup Default" |
|
||||
| `Custom` | 2 | "Custom" |
|
||||
|
||||
---
|
||||
|
||||
### FilterOptionEnumItemSource
|
||||
**Namespace:** `DTS.Common.Enums.Viewer`
|
||||
|
||||
```csharp
|
||||
public class FilterOptionEnumItemSource : IItemsSource
|
||||
```
|
||||
|
||||
| Method | Return Type | Description |
|
||||
|--------|-------------|-------------|
|
||||
| `GetValues()` | `ItemCollection` | Returns a list of `FilterOptionEnum` values via `EnumUtil.GetValuesList<FilterOptionEnum>()` |
|
||||
|
||||
---
|
||||
|
||||
### YRangeScaleEnum
|
||||
**Namespace:** `DTS.Common.Enums.Viewer`
|
||||
|
||||
```csharp
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum YRangeScale
|
||||
17
docs/ai/Common/DTS.CommonCore/Enums/DTS.Viewer/Filter.md
Normal file
17
docs/ai/Common/DTS.CommonCore/Enums/DTS.Viewer/Filter.md
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/Filter/SearchEnum.cs
|
||||
generated_at: "2026-04-17T16:08:31.229189+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "c1355309c7e0a5e8"
|
||||
---
|
||||
|
||||
# Filter
|
||||
|
||||
### Purpose
|
||||
This module defines the `FilterEnum` enumeration, which distinguishes between filter contexts within the DTS Viewer component. It provides a simple categorization for filtering operations, differentiating between Test and Graph filter types.
|
||||
|
||||
### Public Interface
|
||||
|
||||
**`enum
|
||||
@@ -0,0 +1,84 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/Reports/PowerSpectralDensity/WindowAveragingType.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/Reports/PowerSpectralDensity/PassFilterType.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/Reports/PowerSpectralDensity/WindowWidth.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/Reports/PowerSpectralDensity/WindowType.cs
|
||||
generated_at: "2026-04-17T16:34:44.658125+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "693ffc5f875269f1"
|
||||
---
|
||||
|
||||
# Power Spectral Density Enumerations Documentation
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module defines four enumeration types used for configuring Power Spectral Density (PSD) report generation within the DTS Viewer system. These enums provide strongly-typed configuration options for FFT (Fast Fourier Transform) windowing parameters, including window function type, window size, averaging method, and filter type. All enums are decorated with `TypeConverter` and `Description` attributes to support user-friendly display in UI components.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### `WindowAveragingType`
|
||||
**Namespace:** `DTS.Common.Enums.Viewer.Reports`
|
||||
|
||||
Defines the spectral averaging method applied during PSD analysis.
|
||||
|
||||
| Member | Description Attribute | Implicit Value |
|
||||
|--------|----------------------|----------------|
|
||||
| `Averaging` | "Averaging" | 0 |
|
||||
| `PeakHoldMax` | "Peak Hold MAX" | 1 |
|
||||
| `PeakHoldMin` | "Peak Hold MIN" | 2 |
|
||||
|
||||
---
|
||||
|
||||
### `PassFilterType`
|
||||
**Namespace:** `DTS.Common.Enums.Viewer.Reports`
|
||||
|
||||
Defines the analog filter approximation type used in signal processing.
|
||||
|
||||
| Member | Description Attribute | Implicit Value |
|
||||
|--------|----------------------|----------------|
|
||||
| `Bessel` | "Bessel" | 0 |
|
||||
| `Butterworth` | "Butterworth" | 1 |
|
||||
| `Chebyshev` | "Chebyshev" | 2 |
|
||||
|
||||
---
|
||||
|
||||
### `WindowWidth`
|
||||
**Namespace:** `DTS.Common.Enums.Viewer.Reports`
|
||||
|
||||
Defines the FFT window size (number of samples). Values are explicitly assigned to match their numeric representation.
|
||||
|
||||
| Member | Description Attribute | Explicit Value |
|
||||
|--------|----------------------|----------------|
|
||||
| `FiveTwelve` | "512" | 512 |
|
||||
| `TenTwentyFour` | "1024" | 1024 |
|
||||
| `TwentyFortyEight` | "2048" | 2048 |
|
||||
| `FortyNinetySix` | "4096" | 4096 |
|
||||
| `EightyOneNinetyTwo` | "8192" | 8192 |
|
||||
|
||||
---
|
||||
|
||||
### `WindowType`
|
||||
**Namespace:** `DTS.Common.Enums.Viewer.Reports`
|
||||
|
||||
Defines the window function applied to the signal before FFT transformation.
|
||||
|
||||
| Member | Description Attribute | Implicit Value |
|
||||
|--------|----------------------|----------------|
|
||||
| `Rectangle` | "Rectangle" | 0 |
|
||||
| `Hamming` | "Hamming" | 1 |
|
||||
| `Hanning` | "Hanning" | 2 |
|
||||
| `Blackman` | "Blackman" | 3 |
|
||||
| `BlackmanHarris` | "Blackman-Harris" | 4 |
|
||||
| `FlatTop` | "Flat Top" | 5 |
|
||||
|
||||
---
|
||||
|
||||
## 3. Invariants
|
||||
|
||||
- All four enums are decorated with `[TypeConverter(typeof(EnumDescriptionTypeConverter))]`, indicating they are intended for UI binding where the `Description` attribute value should be displayed rather than the enum member name.
|
||||
- `WindowWidth` members have explicit integer values that are always powers of 2 (512, 1024, 2048, 4096, 8192), suitable for FFT algorithms.
|
||||
- `WindowWidth` values are strictly increasing
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/TestMetadata/ChannelGroups.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/TestMetadata/TestGraphsFields.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/TestMetadata/TestSetupFields.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/TestMetadata/TestRunMetadataFields.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/TestMetadata/TestModuleFields.cs
|
||||
- Common/DTS.CommonCore/Enums/DTS.Viewer/TestMetadata/TestChannelFields.cs
|
||||
generated_at: "2026-04-17T16:22:17.505152+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "9fe8117654f84538"
|
||||
---
|
||||
|
||||
# TestMetadata
|
||||
|
||||
### Purpose
|
||||
This module defines strongly-typed enumerations that serve as field identifiers for parsing,
|
||||
Reference in New Issue
Block a user