feat(grpc-data): A2a — AlarmSubscribe joins DataOperationSets.Understood; A2 progress log

This commit is contained in:
Joseph Doherty
2026-11-24 11:59:20 -05:00
parent 68a9d5184b
commit a74a1aeef9
4 changed files with 35 additions and 14 deletions
@@ -237,7 +237,7 @@ public sealed record DataBudget(TimeSpan Timeout, int MaxItems, long MaxBytes)
None = 0, Browse = 1, Metadata = 2, Read = 4, Write = 8, Subscribe = 16,
/// <summary>H2: Raw/Processed/AtTime history reads.</summary>
HistoryRead = 32,
/// <summary>Reserved (A2): root-scoped condition items (origin-side grant).</summary>
/// <summary>A2: root-scoped condition items (origin-side grant; plan §5.5).</summary>
AlarmSubscribe = 64,
/// <summary>Reserved (A2): Acknowledge and AddComment.</summary>
AlarmAcknowledge = 128,
@@ -254,11 +254,13 @@ public static class DataOperationSets
DataOperations.Write | DataOperations.Subscribe;
/// <summary>
/// What tolerant readers keep; every other bit is dropped fail-closed. Grows only in the phase that implements
/// a bit (H2 added <see cref="DataOperations.HistoryRead"/>; A2 adds the alarm bits).
/// a bit (H2 added <see cref="DataOperations.HistoryRead"/>; A2a <see cref="DataOperations.AlarmSubscribe"/>; A2b
/// the method bits).
/// </summary>
public const DataOperations Understood = V1 | DataOperations.HistoryRead;
/// <summary>Bits reserved by X0 that no phase has implemented yet (H2 took <see cref="DataOperations.HistoryRead"/> out).</summary>
public const DataOperations Reserved = DataOperations.AlarmSubscribe |
public const DataOperations Understood = V1 | DataOperations.HistoryRead | DataOperations.AlarmSubscribe;
/// <summary>Bits reserved by X0 that no phase has implemented yet (H2 took <see cref="DataOperations.HistoryRead"/> out,
/// A2a <see cref="DataOperations.AlarmSubscribe"/>).</summary>
public const DataOperations Reserved =
DataOperations.AlarmAcknowledge | DataOperations.AlarmConfirm | DataOperations.AlarmShelve;
}
/// <summary>