PDComm.GemConstantChangeInfo
Struct
Represents the processing state of an S2F15 request result or an S2F16 reply result.
public readonly record struct GemConstantChangeInfoFor a reply, the EAC sent by the equipment is in GemResultInfo.Acknowledgement; the host cannot infer from it that the equipment changed any physical setting.
Parameters
| Name | Description |
|---|---|
ChangeCount | The number of ECID/ECV pairs in the received request; zero for a reply. |
IsRequest | true for an S2F15 request received by the equipment; false for an S2F16 reply received by the host, whose other fields are then zero. |
ValidationAccepted | Whether the automatic receipt validation accepted all changes, so that the application decision is used. |
ValidationAcknowledgement | The EAC from the receipt validation: 0 when accepted, 1 when a constant does not exist, or 3 when a value is invalid, for example a wrong format or count, a value outside the bounds, a NaN or a duplicate ID. A rejected receipt is always answered with this code, whatever the application decides. |
Responded | Whether the S2F16 reply was sent. |
Applied | Whether a nonempty change was applied to the equipment constant store. |
Members
GemConstantChangeInfo
Constructor
Represents the processing state of an S2F15 request result or an S2F16 reply result.
public GemConstantChangeInfo(nuint ChangeCount, bool IsRequest, bool ValidationAccepted, byte ValidationAcknowledgement, bool Responded, bool Applied)For a reply, the EAC sent by the equipment is in GemResultInfo.Acknowledgement; the host cannot infer from it that the equipment changed any physical setting.
Parameters
| Name | Description |
|---|---|
ChangeCount | The number of ECID/ECV pairs in the received request; zero for a reply. |
IsRequest | true for an S2F15 request received by the equipment; false for an S2F16 reply received by the host, whose other fields are then zero. |
ValidationAccepted | Whether the automatic receipt validation accepted all changes, so that the application decision is used. |
ValidationAcknowledgement | The EAC from the receipt validation: 0 when accepted, 1 when a constant does not exist, or 3 when a value is invalid, for example a wrong format or count, a value outside the bounds, a NaN or a duplicate ID. A rejected receipt is always answered with this code, whatever the application decides. |
Responded | Whether the S2F16 reply was sent. |
Applied | Whether a nonempty change was applied to the equipment constant store. |
Applied
Property
Whether a nonempty change was applied to the equipment constant store.
public bool Applied { get; init; }ChangeCount
Property
The number of ECID/ECV pairs in the received request; zero for a reply.
public nuint ChangeCount { get; init; }IsRequest
Property
true for an S2F15 request received by the equipment; false for an S2F16 reply received by the host, whose other fields are then zero.
public bool IsRequest { get; init; }Responded
Property
Whether the S2F16 reply was sent.
public bool Responded { get; init; }ValidationAccepted
Property
Whether the automatic receipt validation accepted all changes, so that the application decision is used.
public bool ValidationAccepted { get; init; }ValidationAcknowledgement
Property
The EAC from the receipt validation: 0 when accepted, 1 when a constant does not exist, or 3 when a value is invalid, for example a wrong format or count, a value outside the bounds, a NaN or a duplicate ID. A rejected receipt is always answered with this code, whatever the application decides.
public byte ValidationAcknowledgement { get; init; }