Table of Contents

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

IAsciiReader

Filter

Gets or sets the filter to use to find the transponder

public TagFilter Filter { get; set; }

Property Value

TagFilter

MaximumOutputPower

Gets the maximum output power of the reader in dBm

public int MaximumOutputPower { get; }

Property Value

int

MinimumOutputPower

Gets the minimum output power of the reader in dBm

public int MinimumOutputPower { get; }

Property Value

int

TagFindState

Gets the state of the tag finder

public TagFinderState TagFindState { get; }

Property Value

TagFinderState

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

rssiPercent int

The current signal percentage

multipleTagsSeen bool

Have we seen more than one tag

OnTagFinderUpdate(TagFoundEventArgs)

protected virtual void OnTagFinderUpdate(TagFoundEventArgs e)

Parameters

e TagFoundEventArgs

Data 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

transponders IEnumerable<TransponderData>

The transponders seen

endOfPass bool

True 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

transponders IEnumerable<TransponderData>

The transponders received

endOfPass bool

True if this completes the current inventory round

Events

TagFindStateChanged

Raised when the tag find TagFindState changes;

public event EventHandler TagFindStateChanged

Event Type

EventHandler

TagFindUpdate

Raised to update the current tag find status

public event EventHandler<TagFoundEventArgs> TagFindUpdate

Event Type

EventHandler<TagFoundEventArgs>

TranspondersReceived

Raised when one or more transponders are received

public event EventHandler<TranspondersEventArgs> TranspondersReceived

Event Type

EventHandler<TranspondersEventArgs>