Skip to content
Start free evaluation

PDComm.GemAlarmResultInfo

Struct

Describes an alarm report or alarm list carried by a host-side GemResult.

public readonly record struct GemAlarmResultInfo

Parameters

NameDescription
CountThe number of alarm entries: 1 for an alarm report (S5F1), or the number of entries in an S5F6 or S5F8 list.
IsReportWhether the result is a received alarm report (S5F1) rather than a list reply.
ReplyExpectedWhether the alarm report requested a reply (W-bit set). Always false for list replies.
AcknowledgedWhether GemHost.AcknowledgeAlarm has sent the S5F2 reply for the report.

Members

GemAlarmResultInfo

Constructor

Describes an alarm report or alarm list carried by a host-side GemResult.

public GemAlarmResultInfo(nuint Count, bool IsReport, bool ReplyExpected, bool Acknowledged)

Parameters

NameDescription
CountThe number of alarm entries: 1 for an alarm report (S5F1), or the number of entries in an S5F6 or S5F8 list.
IsReportWhether the result is a received alarm report (S5F1) rather than a list reply.
ReplyExpectedWhether the alarm report requested a reply (W-bit set). Always false for list replies.
AcknowledgedWhether GemHost.AcknowledgeAlarm has sent the S5F2 reply for the report.

Acknowledged

Property

Whether GemHost.AcknowledgeAlarm has sent the S5F2 reply for the report.

public bool Acknowledged { get; init; }

Count

Property

The number of alarm entries: 1 for an alarm report (S5F1), or the number of entries in an S5F6 or S5F8 list.

public nuint Count { get; init; }

IsReport

Property

Whether the result is a received alarm report (S5F1) rather than a list reply.

public bool IsReport { get; init; }

ReplyExpected

Property

Whether the alarm report requested a reply (W-bit set). Always false for list replies.

public bool ReplyExpected { get; init; }