Skip to content
Start free evaluation

PdcommGemAlarmChange

Struct

Result of an alarm observation, filled by pdcomm_gem_equipment_observe_alarm().

typedef struct PdcommGemAlarmChange { ... } PdcommGemAlarmChange

Declared in: #include <pdcomm_gem_alarms.h>

Members

active

Field

Alarm state after the observation: 1 for set, 0 for cleared.

uint8_t active

Declared in: #include <pdcomm_gem_alarms.h>

changed

Field

1 when the observation changed the alarm state, 0 when the state was already the observed one.

uint8_t changed

Declared in: #include <pdcomm_gem_alarms.h>

event_id

Field

CEID of the transition that occurred; 0 when event_present is 0.

uint32_t event_id

Declared in: #include <pdcomm_gem_alarms.h>

event_present

Field

1 when the transition has a configured set or clear CEID in event_id, otherwise 0 (always 0 without a transition).

uint8_t event_present

Declared in: #include <pdcomm_gem_alarms.h>

id

Field

Alarm ID (ALID) that was observed.

uint32_t id

Declared in: #include <pdcomm_gem_alarms.h>

reporting_enabled

Field

Snapshot of the reporting-enabled flag: 1 when an S5F1 report may be published for this alarm.

uint8_t reporting_enabled

Declared in: #include <pdcomm_gem_alarms.h>

struct_size

Field

Structure size; set to sizeof(PdcommGemAlarmChange) or larger, receives the size written.

size_t struct_size

Declared in: #include <pdcomm_gem_alarms.h>