pub struct TransitionOutcome {
pub change: EventStateChange,
pub event_type: EventType,
pub distribute: bool,
}Expand description
A fire-ready transition and its external distribution policy.
ASHRAE 135-2020 Clause 13.2.2.1.4 attaches four effects to every
transition: Event_State takes the new state, Event_Time_Stamps records
when it happened, Event_Message_Texts (on objects that have it) records
the message, and both alarm-acknowledgment and notification distribution
are told about it. Event_Enable gates none of the four; it only turns off
external distribution further downstream (Clause 13.2.5), so a cleared bit
must not suppress the three property updates, nor the alarm-acknowledgment
part of the hand-off.
The object intrinsic-reporting hooks return this value as an uncommitted
proposal. The server commits object-owned state and history before considering
distribution, including when distribute == false. A failed commit leaves the
proposal retryable. The value alone does not prove a committed object transition.
Standalone detector probe and tick methods may finalize detector-local state
according to their own contracts; they do not commit object event history.
Fields§
§change: EventStateChangeThe proposed transition, to be committed regardless of distribute.
event_type: EventTypeThe Event Type selected by the detector’s event algorithm, with the
mandatory CHANGE_OF_RELIABILITY override for transitions to/from FAULT.
distribute: boolThe Event_Enable bit for this transition’s direction.