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
stringThe command name
ParameterCommandBase(string, AsciiResponder)
Initializes a new instance of the ParameterCommandBase class
protected ParameterCommandBase(string commandName, AsciiResponder responder)
Parameters
commandName
stringThe command name
responder
AsciiResponderThe 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
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; }