Class ReaderOperationTransponders
- Namespace
- TechnologySolutions.Rfid
- Assembly
- TechnologySolutions.Rfid.Operations.dll
An implementation of IReaderOperationTransponders to perform a transponder inventory manually or commanded from a trigger press
public class ReaderOperationTransponders : ReaderOperation, IReaderOperationTransponders, IReaderOperation, ITriggerSource, IOutputPowerBounds
- Inheritance
-
ReaderOperationTransponders
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ReaderOperationTransponders()
Initializes a new instance of the ReaderOperationTransponders class
public ReaderOperationTransponders()
Properties
AccessFilterFields
Gets the specification of the command to perform
protected virtual TagAccessFilterFields AccessFilterFields { get; }
Property Value
Filter
Gets or sets the filter to specify which transponders to return
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
Report
Gets or sets the report to identify which fields to return per transponder
public TagFields Report { get; set; }
Property Value
Transponders
Gets all the transponders received since the operation was started
public IEnumerable<TransponderData> Transponders { get; }
Property Value
Methods
OnTranspondersReceived(IEnumerable<TransponderData>, bool)
Adds the transponders received to Transponders and raises TranspondersReceived by calling RaiseTranspondersReceived(IEnumerable<TransponderData>, bool)
protected virtual void OnTranspondersReceived(IEnumerable<TransponderData> transponders, bool endOfPass)
Parameters
transponders
IEnumerable<TransponderData>The transponders received
endOfPass
boolTrue if this is the end of an inventory round
PerformOperationAsync(CancellationToken)
Returns a task to perform the operation
protected override Task PerformOperationAsync(CancellationToken cancelToken)
Parameters
cancelToken
CancellationTokenUsed to cancel the operation
Returns
- Task
The task to perform the operation
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
boolTrue if this is the end of an inventory round
Events
TranspondersReceived
Raised as transponders are received
public event EventHandler<TranspondersEventArgs> TranspondersReceived