Skip to content
Start free evaluation

PDComm.GemFormattedProgramCommand

Class

One command of a formatted process program: a command code and its parameters.

public sealed record GemFormattedProgramCommand

The items stay owned by the caller. Methods that take a GemFormattedProgramPayload copy them during the call.

Parameters

NameDescription
CodeThe command code (CCODE): an ASCII item, or a U1, U2, U4 or U8 item that holds exactly one value.
ParametersThe 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

NameDescription
CodeThe command code (CCODE): an ASCII item, or a U1, U2, U4 or U8 item that holds exactly one value.
ParametersThe 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; }