Skip to content
Start free evaluation

PDComm.GemQueryInfo

Struct

Represents the report query details of a GemResult.

public readonly record struct GemQueryInfo

Parameters

NameDescription
KindThe query transaction.
IdThe requested ID: the CEID for GemReportQueryKind.Event, otherwise the RPTID.
DataIdThe data ID (DATAID) of an S6F16 reply; zero otherwise.
ReportCountThe number of reports in an S6F16 reply; zero otherwise.
ValueCountThe number of values: the total across all reports for S6F16, the value count for S6F20 and S6F22, and zero for a received request.
IsRequesttrue when the result is a query request received by equipment.
Respondedtrue when the received request has been answered successfully.
DataIdPresenttrue when DataId came from an S6F16 reply.

Members

GemQueryInfo

Constructor

Represents the report query details of a GemResult.

public GemQueryInfo(GemReportQueryKind Kind, uint Id, uint DataId, nuint ReportCount, nuint ValueCount, bool IsRequest, bool Responded, bool DataIdPresent)

Parameters

NameDescription
KindThe query transaction.
IdThe requested ID: the CEID for GemReportQueryKind.Event, otherwise the RPTID.
DataIdThe data ID (DATAID) of an S6F16 reply; zero otherwise.
ReportCountThe number of reports in an S6F16 reply; zero otherwise.
ValueCountThe number of values: the total across all reports for S6F16, the value count for S6F20 and S6F22, and zero for a received request.
IsRequesttrue when the result is a query request received by equipment.
Respondedtrue when the received request has been answered successfully.
DataIdPresenttrue when DataId came from an S6F16 reply.

DataId

Property

The data ID (DATAID) of an S6F16 reply; zero otherwise.

public uint DataId { get; init; }

DataIdPresent

Property

true when DataId came from an S6F16 reply.

public bool DataIdPresent { get; init; }

Id

Property

The requested ID: the CEID for GemReportQueryKind.Event, otherwise the RPTID.

public uint Id { get; init; }

IsRequest

Property

true when the result is a query request received by equipment.

public bool IsRequest { get; init; }

Kind

Property

The query transaction.

public GemReportQueryKind Kind { get; init; }

ReportCount

Property

The number of reports in an S6F16 reply; zero otherwise.

public nuint ReportCount { get; init; }

Responded

Property

true when the received request has been answered successfully.

public bool Responded { get; init; }

ValueCount

Property

The number of values: the total across all reports for S6F16, the value count for S6F20 and S6F22, and zero for a received request.

public nuint ValueCount { get; init; }