PDComm.GemFormattedProgramCommand
Class
One command of a formatted process program: a command code and its parameters.
public sealed record GemFormattedProgramCommandThe items stay owned by the caller. Methods that take a GemFormattedProgramPayload copy them during the call.
Parameters
| Name | Description |
|---|---|
Code | The command code (CCODE): an ASCII item, or a U1, U2, U4 or U8 item that holds exactly one value. |
Parameters | The command parameters (PPARM) in wire order; any item format is accepted. |
Members
GemFormattedProgramCommand
Constructor
One command of a formatted process program: a command code and its parameters.
public GemFormattedProgramCommand(SecsItem Code, IReadOnlyList<SecsItem> Parameters)The items stay owned by the caller. Methods that take a GemFormattedProgramPayload copy them during the call.
Parameters
| Name | Description |
|---|---|
Code | The command code (CCODE): an ASCII item, or a U1, U2, U4 or U8 item that holds exactly one value. |
Parameters | The command parameters (PPARM) in wire order; any item format is accepted. |
Code
Property
The command code (CCODE): an ASCII item, or a U1, U2, U4 or U8 item that holds exactly one value.
public SecsItem Code { get; init; }Parameters
Property
The command parameters (PPARM) in wire order; any item format is accepted.
public IReadOnlyList<SecsItem> Parameters { get; init; }