Skip to content
Start free evaluation

PDComm.GemAlarmChange

Struct

Represents the result of GemEquipment.ObserveAlarm.

public readonly record struct GemAlarmChange

Parameters

NameDescription
IdThe alarm ID (ALID).
ChangedWhether the observation changed the active state of the alarm.
ActiveThe active state of the alarm after the observation.
ReportingEnabledWhether alarm reporting is currently enabled for the alarm.
EventIdThe 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

NameDescription
IdThe alarm ID (ALID).
ChangedWhether the observation changed the active state of the alarm.
ActiveThe active state of the alarm after the observation.
ReportingEnabledWhether alarm reporting is currently enabled for the alarm.
EventIdThe 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; }