namespace ZB.MOM.WW.OtOpcUa.Driver.Historian.Sql.Common; /// The opaque Events continuation point of the SQL historian backends (only its presence is contractual). public static class EventContinuation { /// Encodes the first not-returned event as "{EventTimeUtc.Ticks}|{EventId}". /// The event's time. /// The event's id. /// The continuation text (callers send its UTF-8 bytes). public static string Encode(DateTime eventTimeUtc, string eventId) => $"{eventTimeUtc.Ticks}|{eventId}"; }