Interface ITriggerSource
- Namespace
- TechnologySolutions.Rfid
- Assembly
- TechnologySolutions.Rfid.Operations.dll
Identifies the trigger source for an IReaderOperation
public interface ITriggerSource
Properties
IsTriggerHardware
Gets a value indicating whether the trigger is managed by the reader
bool IsTriggerHardware { get; }
Property Value
TriggerIndex
Gets or sets the index of the trigger to start the operation
int TriggerIndex { get; set; }
Property Value
Remarks
Can only be changed while the operation is disabled. For Technology Solutions ASCII Protocol RFID readers 0 is not trigger. 1 is single press. 2 is double press
Exceptions
- InvalidOperationException
If the trigger index is changed when the operation is not disabled
- ArgumentOutOfRangeException
If the trigger index is set to 0 and IsTriggerHardware is true
TriggerInterval
Gets or sets the interval between repeats of the operation. (MaxValue for no repeat)
TimeSpan TriggerInterval { get; set; }