using System; namespace MxGateway.Worker.MxAccess; /// /// One transition emitted by the consumer's snapshot diff. Pairs the /// latest record with its previous state so the proto layer can decide /// whether the transition is a Raise / Acknowledge / Clear. /// public sealed class MxAlarmTransitionEvent : EventArgs { public MxAlarmSnapshotRecord Record { get; set; } = new MxAlarmSnapshotRecord(); /// /// The state on the consumer's previous polled snapshot, or /// when this is the /// first time the GUID has been observed. /// public MxAlarmStateKind PreviousState { get; set; } }