PDComm.GemAlarmChange
Struct
Represents the result of GemEquipment.ObserveAlarm.
public readonly record struct GemAlarmChangeParameters
| Name | Description |
|---|---|
Id | The alarm ID (ALID). |
Changed | Whether the observation changed the active state of the alarm. |
Active | The active state of the alarm after the observation. |
ReportingEnabled | Whether alarm reporting is currently enabled for the alarm. |
EventId | The collection event ID (CEID) mapped to the transition (the set event when the alarm became active, the clear event when it cleared), or null when the state did not change or no event is mapped. |
Members
GemAlarmChange
Constructor
Represents the result of GemEquipment.ObserveAlarm.
public GemAlarmChange(uint Id, bool Changed, bool Active, bool ReportingEnabled, uint? EventId)Parameters
| Name | Description |
|---|---|
Id | The alarm ID (ALID). |
Changed | Whether the observation changed the active state of the alarm. |
Active | The active state of the alarm after the observation. |
ReportingEnabled | Whether alarm reporting is currently enabled for the alarm. |
EventId | The collection event ID (CEID) mapped to the transition (the set event when the alarm became active, the clear event when it cleared), or null when the state did not change or no event is mapped. |
Active
Property
The active state of the alarm after the observation.
public bool Active { get; init; }Changed
Property
Whether the observation changed the active state of the alarm.
public bool Changed { get; init; }EventId
Property
The collection event ID (CEID) mapped to the transition (the set event when the alarm became active, the clear event when it cleared), or null when the state did not change or no event is mapped.
public uint? EventId { get; init; }Id
Property
The alarm ID (ALID).
public uint Id { get; init; }ReportingEnabled
Property
Whether alarm reporting is currently enabled for the alarm.
public bool ReportingEnabled { get; init; }