PDComm.GemEnhancedCommandOptions
Class
Represents the capacity limits of the equipment enhanced remote command store installed by GemEquipment.ConfigureEnhancedCommands.
public sealed record GemEnhancedCommandOptionsThe limits are application policy. They bound the store and the validation of received S2F49 requests.
Members
GemEnhancedCommandOptions
Constructor
Initializes a new instance with default values.
public GemEnhancedCommandOptions()Notes
- Set every
requiredproperty of the type in an object initializer.
ItemLimits
Property
Gets the SECS-II limits that every received parameter value must satisfy. Every limit must be greater than zero.
public required SecsLimits ItemLimits { get; init; }MaxCommandsPerObject
Property
Gets the maximum number of command definitions of one object.
public required nuint MaxCommandsPerObject { get; init; }MaxErrors
Property
Gets the maximum number of nonzero parameter acknowledgement codes 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; }MaxObjectBytes
Property
Gets the maximum size, in bytes, of one object name, configured or received.
public required nuint MaxObjectBytes { get; init; }MaxObjects
Property
Gets the maximum number of object definitions (OBJSPEC).
public required nuint MaxObjects { get; init; }MaxParametersPerCommand
Property
Gets the maximum number of parameters of one command definition and of one received S2F49 request.
public required nuint MaxParametersPerCommand { get; init; }MaxRequestValueBytes
Property
Gets the maximum combined encoded size, in bytes, of all parameter values (CEPVAL) in one received S2F49 request.
public required nuint MaxRequestValueBytes { get; init; }MaxTotalCommands
Property
Gets the maximum number of command definitions across all objects.
public required nuint MaxTotalCommands { 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; }MaxTotalObjectBytes
Property
Gets the maximum combined size, in bytes, of all configured object names.
public required nuint MaxTotalObjectBytes { get; init; }MaxTotalParameters
Property
Gets the maximum number of parameter definitions across all commands.
public required nuint MaxTotalParameters { get; init; }