Skip to content
Start free evaluation

PDComm.GemAlarmValueInfo

Struct

Represents the fields of one alarm entry received from the equipment.

public readonly record struct GemAlarmValueInfo

Parameters

NameDescription
IdThe alarm ID (ALID).
CategoryThe alarm category taken from the low six bits of the alarm code (ALCD).
ActiveWhether bit 8 of the alarm code (ALCD) marks the alarm as active (set).

Members

GemAlarmValueInfo

Constructor

Represents the fields of one alarm entry received from the equipment.

public GemAlarmValueInfo(uint Id, byte Category, bool Active)

Parameters

NameDescription
IdThe alarm ID (ALID).
CategoryThe alarm category taken from the low six bits of the alarm code (ALCD).
ActiveWhether bit 8 of the alarm code (ALCD) marks the alarm as active (set).

Active

Property

Whether bit 8 of the alarm code (ALCD) marks the alarm as active (set).

public bool Active { get; init; }

Category

Property

The alarm category taken from the low six bits of the alarm code (ALCD).

public byte Category { get; init; }

Id

Property

The alarm ID (ALID).

public uint Id { get; init; }