Class AsciiOperationFindTag
- Namespace
- TechnologySolutions.Rfid.AsciiOperations
- Assembly
- TechnologySolutions.Rfid.Operations.dll
An implementation of IReaderOperationFindTag. Performs the find tag operation using the find tag command if provided and otherwise falls back to inventory
public class AsciiOperationFindTag : ReaderOperation, IReaderOperationFindTag, IReaderOperation, ITriggerSource, IOutputPowerBounds
- Inheritance
-
AsciiOperationFindTag
- Implements
- Inherited Members
Constructors
AsciiOperationFindTag()
Initializes a new instance of the ReaderOPerationFindTag class
public AsciiOperationFindTag()
Properties
AsciiReader
Gets the AsciiReader for the operation
protected IAsciiReader AsciiReader { get; }
Property Value
Filter
Gets or sets the filter to use to find the transponder
public TagFilter Filter { get; set; }
Property Value
MaximumOutputPower
Gets the maximum output power of the reader in dBm
public int MaximumOutputPower { get; }
Property Value
MinimumOutputPower
Gets the minimum output power of the reader in dBm
public int MinimumOutputPower { get; }
Property Value
TagFindState
Gets the state of the tag finder
public TagFinderState TagFindState { get; }
Property Value
Methods
DisabledDisconnectedAsync()
Returns a task to undo the configuration of the reader for tag finding as the operation is disabled
public override Task DisabledDisconnectedAsync()
Returns
- Task
The task to undo the configuration of the reader
EnabledConnectedAsync()
Returns a task to configure the reader to find the specified tag as the operation is enabled
public override Task EnabledConnectedAsync()
Returns
- Task
The task to configure the reader
OnTagFinderUpdate(int, bool)
Notify changes
protected virtual void OnTagFinderUpdate(int rssiPercent, bool multipleTagsSeen)
Parameters
OnTagFinderUpdate(TagFoundEventArgs)
Raises TagFindUpdate
protected virtual void OnTagFinderUpdate(TagFoundEventArgs e)
Parameters
eTagFoundEventArgsData provided for the event
OnTranspondersReceived(IEnumerable<TransponderData>, bool)
Handles the transponders received and converts to a OnTagFinderUpdate(int, bool) as appropriate
protected virtual void OnTranspondersReceived(IEnumerable<TransponderData> transponders, bool endOfPass)
Parameters
transpondersIEnumerable<TransponderData>The transponders seen
endOfPassboolTrue if this is the end of an inventory round
RaiseTranspondersReceived(IEnumerable<TransponderData>, bool)
Raises the TranspondersReceived event
protected virtual void RaiseTranspondersReceived(IEnumerable<TransponderData> transponders, bool endOfPass)
Parameters
transpondersIEnumerable<TransponderData>The transponders received
endOfPassboolTrue if this completes the current inventory round
Events
TagFindStateChanged
Raised when the tag find TagFindState changes;
public event EventHandler TagFindStateChanged
Event Type
TagFindUpdate
Raised to update the current tag find status
public event EventHandler<TagFoundEventArgs> TagFindUpdate
Event Type
TranspondersReceived
Raised when one or more transponders are received
public event EventHandler<TranspondersEventArgs> TranspondersReceived