init
This commit is contained in:
23
docs/ai/Common/DTS.Common.SerializationPlus.md
Normal file
23
docs/ai/Common/DTS.Common.SerializationPlus.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common.SerializationPlus/EventInfoAggregate.cs
|
||||
generated_at: "2026-04-17T16:07:57.851293+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "edeae15aafd1f6e8"
|
||||
---
|
||||
|
||||
# DTS.Common.SerializationPlus
|
||||
|
||||
### Purpose
|
||||
This module provides the `EventInfoAggregate` class, which serves as an aggregator for event data originating from multiple Data Acquisition System (DAS) units. It consolidates information regarding a specific test event—such as duration, channel counts, and sample counts—into a single unified object. It exists to handle scenarios where a single logical event is recorded across multiple hardware modules, ensuring data consistency and providing a unified view for downstream processing.
|
||||
|
||||
### Public Interface
|
||||
* **`class EventInfoAggregate : IEventInfoAggregate`**
|
||||
* **`EventInfoAggregate(DownloadReport.EventInfo newEvent)`**: Constructor that initializes the aggregate from a `DownloadReport.EventInfo` object. It handles cases where module information might be missing by defaulting duration and sample counts to zero.
|
||||
* **`string EventId { get; set; }`**: The identifier for the test event.
|
||||
* **`string EventDescription { get; set; }`**: Description of the event.
|
||||
* **`double DurationSeconds { get; set; }`**: Duration of the event in seconds.
|
||||
* **`string GUID { get; set; }`**: Unique identifier for the test.
|
||||
* **`bool HasBeenDownloaded { get; set; }`**: Flag indicating if the event data has been downloaded.
|
||||
* **`bool WasTriggered { get; set; }`**: Flag indicating if the event was triggered.
|
||||
Reference in New Issue
Block a user