feat(comm): ack site health reports end-to-end (SiteHealthReportAck, additive contract)

This commit is contained in:
Joseph Doherty
2026-07-08 16:09:08 -04:00
parent f7b9d342e4
commit 17af376a8e
4 changed files with 105 additions and 3 deletions
@@ -0,0 +1,10 @@
namespace ZB.MOM.WW.ScadaBridge.Commons.Messages.Health;
/// <summary>
/// Acknowledgement for a <see cref="SiteHealthReport"/> forwarded site→central.
/// Review 01 [Medium]: the transport was fire-and-forget, so the sender's
/// interval-counter restore logic could never observe a loss. The ack makes
/// delivery observable end-to-end (central processed the report).
/// </summary>
public sealed record SiteHealthReportAck(
string SiteId, long SequenceNumber, bool Accepted, string? Error = null);