PDComm.GemQueryInfo
Struct
Represents the report query details of a GemResult.
public readonly record struct GemQueryInfoParameters
| Name | Description |
|---|---|
Kind | The query transaction. |
Id | The requested ID: the CEID for GemReportQueryKind.Event, otherwise the RPTID. |
DataId | The data ID (DATAID) of an S6F16 reply; zero otherwise. |
ReportCount | The number of reports in an S6F16 reply; zero otherwise. |
ValueCount | The number of values: the total across all reports for S6F16, the value count for S6F20 and S6F22, and zero for a received request. |
IsRequest | true when the result is a query request received by equipment. |
Responded | true when the received request has been answered successfully. |
DataIdPresent | true 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
| Name | Description |
|---|---|
Kind | The query transaction. |
Id | The requested ID: the CEID for GemReportQueryKind.Event, otherwise the RPTID. |
DataId | The data ID (DATAID) of an S6F16 reply; zero otherwise. |
ReportCount | The number of reports in an S6F16 reply; zero otherwise. |
ValueCount | The number of values: the total across all reports for S6F16, the value count for S6F20 and S6F22, and zero for a received request. |
IsRequest | true when the result is a query request received by equipment. |
Responded | true when the received request has been answered successfully. |
DataIdPresent | true 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; }