using System; namespace ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Host.Backend.Historian { /// /// OPC-UA-free representation of a single historical data point. The Host returns these /// across the IPC boundary as GalaxyDataValue; the Proxy maps quality and value to /// OPC UA DataValue. Raw MX quality byte is preserved so the Proxy can use the same /// quality mapper it already uses for live reads. /// public sealed class HistorianSample { public object? Value { get; set; } /// Raw OPC DA quality byte from the historian SDK (low 8 bits of OpcQuality). public byte Quality { get; set; } public DateTime TimestampUtc { get; set; } } /// /// Result of . When is /// null the aggregate is unavailable for that bucket (Proxy maps to BadNoData). /// public sealed class HistorianAggregateSample { public double? Value { get; set; } public DateTime TimestampUtc { get; set; } } }