Files
DP44/docs/ai/Common/DTS.Common.Serialization/Iso/Report.md

26 lines
1.5 KiB
Markdown
Raw Normal View History

2026-04-17 14:55:32 -04:00
---
source_files:
- Common/DTS.Common.Serialization/Iso/Report/SummaryReport.cs
- Common/DTS.Common.Serialization/Iso/Report/ChannelData.cs
generated_at: "2026-04-17T16:26:51.854079+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "73f0d595156f65dc"
---
# Report
### Purpose
This module provides functionality for generating ISO-compliant test summary reports. It transforms test data (channels, ISO codes, filter classes, electronic IDs, data flags) into a formatted text file output suitable for documentation and compliance purposes. The report lists all channels with their associated metadata in a structured format.
### Public Interface
**`SummaryReport`** (public class)
- `string GetLines()` — Returns the complete formatted report as a single string, including a header line with channel count followed by one line per channel.
- `static SummaryReport CreateSummaryReport(Test test)` — Factory method that creates a `SummaryReport` from a `Test` object, extracting and sorting all channel data.
- `static void OutputToPath(string path, SummaryReport summary)` — Writes the summary report to a file named `"TestNo_FilterList.txt"` in the specified directory. Can throw I/O exceptions.
**`ChannelData`** (internal class)
- `int ChannelNumber { get; set; }` — The display order number of the channel; default is 1.
- `string ISOCode { get; set; }` — The ISO code for the channel; default is `string.Empty`.
- `string ChannelName { get; set; }` — The