namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions;
///
/// Driver-agnostic value snapshot returned by and pushed
/// by . Mirrors the OPC UA DataValue
/// shape so the node-manager can pass through quality, source timestamp, and
/// server timestamp without translation.
///
/// The raw value; null when indicates Bad.
/// OPC UA status code (numeric value matches the OPC UA spec).
/// Driver-side timestamp when the value was sampled at the source. Null if unavailable.
/// Driver-side timestamp when the driver received / processed the value.
public sealed record DataValueSnapshot(
object? Value,
uint StatusCode,
DateTime? SourceTimestampUtc,
DateTime ServerTimestampUtc);