Class SwitchActionCommand
- Namespace
- TechnologySolutions.Rfid.AsciiProtocol.Commands
- Assembly
- TechnologySolutions.Rfid.AsciiProtocol.Core.dll
The .sa Switch Action Command of the Technology Solutions UK Ltd ASCII 2 Protocol
(.sa) A command to set the action of the reader's switch
[AsciiCommand(".sa")]
public class SwitchActionCommand : ParameterCommandBase, IAsciiCommand
- Inheritance
-
SwitchActionCommand
- Implements
- Inherited Members
- Extension Methods
Constructors
SwitchActionCommand()
Initializes a new instance of the SwitchActionCommand class
public SwitchActionCommand()
Properties
AsynchronousReportingEnabled
Gets or sets a value indicating whether asynchronous switch status reports should be reported. When set to NotSpecified the asynchronous reporting state is unchanged. If readParameters is specified then after execution this property will reflect the current state
[AsciiParameter("a")]
public TriState? AsynchronousReportingEnabled { get; set; }
Property Value
DoublePressAction
Gets or sets the action to perform for a double press of trigger
[AsciiParameter("d")]
public SwitchAction? DoublePressAction { get; set; }
Property Value
DoublePressRepeatDelay
Gets or sets the delay in milliseconds before the double press switch action is repeated (1 to 999 ms)
[AsciiParameter("rd")]
public int? DoublePressRepeatDelay { get; set; }
Property Value
- int?
Remarks
Added for ASCII Protocol v2.2 and higher
IsHapticFeedbackEnabled
Gets or sets a value indicating whether haptic feedback (vibrate for switch press) is enabled When set to NotSpecified the haptic feedback enabled state is unchanged. If readParameters is specified then after execution this property will reflect the current state
[AsciiParameter("h")]
public TriState? IsHapticFeedbackEnabled { get; set; }
Property Value
SinglePressAction
Gets or sets the action to perform for a single press of trigger
[AsciiParameter("s")]
public SwitchAction? SinglePressAction { get; set; }
Property Value
SinglePressRepeatDelay
Gets or sets the delay in milliseconds before the single press switch action is repeated (1 to 999 ms)
[AsciiParameter("rs")]
public int? SinglePressRepeatDelay { get; set; }
Property Value
- int?
Remarks
Added for ASCII Protocol v2.2 and higher
TriggerMode
Gets or sets the Trigger Mode
[AsciiParameter("tm")]
public TriggerOperatingMode? TriggerMode { get; set; }