Skip to content
Start free evaluation

PDComm.GemCommandOptions

Class

Represents the capacity limits of the equipment remote command store installed by GemEquipment.ConfigureCommands.

public sealed record GemCommandOptions

The limits are application policy. They bound the store and the validation of received S2F41 requests.

Members

GemCommandOptions

Constructor

Initializes a new instance with default values.

public GemCommandOptions()

Notes

  • Set every required property of the type in an object initializer.

MaxCommands

Property

Gets the maximum number of remote command definitions. The value must be greater than zero.

public required nuint MaxCommands { get; init; }

MaxErrors

Property

Gets the maximum number of parameter issues (CPACK entries) in a validation result or in a reply.

public required nuint MaxErrors { get; init; }

MaxIdentifierBytes

Property

Gets the maximum size, in bytes, of one ASCII command or parameter name.

public required nuint MaxIdentifierBytes { get; init; }

MaxParametersPerCommand

Property

Gets the maximum number of parameters of one command definition and of one received S2F41 request.

public required nuint MaxParametersPerCommand { get; init; }

MaxTotalIdentifierBytes

Property

Gets the maximum combined size, in bytes, of all ASCII command and parameter names. Numeric names count as zero bytes.

public required nuint MaxTotalIdentifierBytes { get; init; }

MaxTotalParameters

Property

Gets the maximum number of parameter definitions across all commands.

public required nuint MaxTotalParameters { get; init; }