namespace ZB.MOM.WW.OtOpcUa.Driver.Modbus; /// /// #152 — operator-visible snapshot of one auto-prohibited coalesced range. Returned in /// bulk by ; consumers (Admin UI, /// dashboards, log-aggregation pipelines) project the list into whatever shape they need. /// /// Modbus unit ID (slave) the prohibition applies to. /// Register region (HoldingRegisters / InputRegisters / Coils / DiscreteInputs). /// Inclusive start of the prohibited range (zero-based PDU offset). /// Inclusive end of the prohibited range. Equals when bisection has narrowed to a single register. /// Wall-clock time of the most recent failure (record) or re-probe (refresh). /// /// True when the range still spans > 1 register and the next re-probe will bisect it /// (per #150). False when the range is single-register or has been pinned permanent. /// public sealed record ModbusAutoProhibition( byte UnitId, ModbusRegion Region, ushort StartAddress, ushort EndAddress, DateTime LastProbedUtc, bool BisectionPending);