Class TagAccess.Sequence
This class gives support for doing a sequence of Access Operations at one go.
Inheritance
Inherited Members
Namespace: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class Sequence
Properties
Item[Int32]
Returns the operation already added at specified index.
Declaration
public TagAccess.Sequence.Operation this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Property Value
| Type | Description |
|---|---|
| TagAccess.Sequence.Operation | Returns the operation already added at specified index. |
Length
Get the Operation Sequence Length
Declaration
public int Length { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
Add(TagAccess.Sequence.Operation)
Adds an operation to the Tag Access Sequence. Application should allocate new object for Operation for each call to Add().
Declaration
public void Add(TagAccess.Sequence.Operation operation)
Parameters
| Type | Name | Description |
|---|---|---|
| TagAccess.Sequence.Operation | operation | Access Operation |
Delete(TagAccess.Sequence.Operation)
Removes an already added operation from the Tag Access Sequence.
Declaration
public void Delete(TagAccess.Sequence.Operation operation)
Parameters
| Type | Name | Description |
|---|---|---|
| TagAccess.Sequence.Operation | operation | Access Operation |
DeleteAll()
Removes all added operations from the Tag Access Sequence.
Declaration
public void DeleteAll()
PerformSequence()
This method starts the execution of all operations in the Tag Access Sequence in the order in which the operations were added. The operation will be performed on all Antennas and will start execution immediately after the call, and will stop when StopSequence() is invoked.
Declaration
public void PerformSequence()
PerformSequence(AccessFilter, TriggerInfo, AntennaInfo)
This method starts the execution of all operations in the Tag Access Sequence in the order in which the operations were added. The operation will be performed on Antennas mentioned in antennaInfo and will start and stop execution based on triggerInfo. It can also be stopped by calling StopSequence().
Declaration
public void PerformSequence(AccessFilter accessFilterInfo, TriggerInfo triggerInfo, AntennaInfo antennaInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| AccessFilter | accessFilterInfo | Access Filter which determines the Tags on which the Access operation sequence is to be performed. If this is null, operation will be perfomed without any access filters. |
| TriggerInfo | triggerInfo | Start/Stop criteria for current operation. If null, no trigger criteria will be used, which means the operation starts immediatly and stops when StopSequence() is invoked. |
| AntennaInfo | antennaInfo | Antennas on which the current operation is to be performed. If this is null, operation will be performed on all Antennas. |
StopSequence()
This method stops the execution of the Tag Access Operation Sequence.
Declaration
public void StopSequence()