using System;
namespace ZB.MOM.WW.OtOpcUa.Driver.Historian.Wonderware.Backend
{
///
/// SDK-free representation of a Historian event record. Prevents ArchestrA types from
/// leaking beyond HistorianDataSource.
///
public sealed class HistorianEventDto
{
/// Gets or sets the unique identifier for the event.
public Guid Id { get; set; }
/// Gets or sets the source of the event.
public string? Source { get; set; }
/// Gets or sets the time when the event occurred.
public DateTime EventTime { get; set; }
/// Gets or sets the time when the event was received.
public DateTime ReceivedTime { get; set; }
/// Gets or sets the display text for the event.
public string? DisplayText { get; set; }
/// Gets or sets the severity level of the event.
public ushort Severity { get; set; }
}
}