Table of Contents

Class ParameterCommandBase

Namespace
TechnologySolutions.Rfid.AsciiProtocol.Commands
Assembly
TechnologySolutions.Rfid.AsciiProtocol.Core.dll

Base class for commands that have parameters (i.e. support -p -x)

public abstract class ParameterCommandBase : AsciiCommandBase, IAsciiCommand
Inheritance
ParameterCommandBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

ParameterCommandBase(string)

Initializes a new instance of the ParameterCommandBase class

protected ParameterCommandBase(string commandName)

Parameters

commandName string

The command name

ParameterCommandBase(string, AsciiResponder)

Initializes a new instance of the ParameterCommandBase class

protected ParameterCommandBase(string commandName, AsciiResponder responder)

Parameters

commandName string

The command name

responder AsciiResponder

The responder to use to capture the command response

Properties

ReadParameters

Gets or sets a value indicating whether the response to the command should report all supported parameters and their current values

[AsciiParameter("p", "command")]
public bool ReadParameters { get; set; }

Property Value

bool

ResetParameters

Gets or sets a value indicating whether to set all parameters to their default values before executing the command

[AsciiParameter("x", "command")]
public bool ResetParameters { get; set; }

Property Value

bool