Class TranspondersCommandBase
- Namespace
- TechnologySolutions.Rfid.AsciiProtocol.Commands
- Assembly
- TechnologySolutions.Rfid.AsciiProtocol.Core.dll
Base class for commands that return one or more transponders
public abstract class TranspondersCommandBase : AlertDateTimeCommandBase, IAsciiCommand, ICommandParameters, IResponseParameters, IInventoryStopParameters, IAntennaParametersWithBounds, IAntennaParameters, IAntennaParameterBounds, IAntennaParameterCommandBounds, ITransponderParameters
- Inheritance
-
TranspondersCommandBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
TranspondersCommandBase(string)
Initializes a new instance of the TranspondersCommandBase class
protected TranspondersCommandBase(string commandName)
Parameters
commandName
stringThe command name (e.g. ".iv" for inventory)
Properties
AdditionalSelect
Gets or sets a value indicating whether to use a preceding TransponderSelectCommand to further specify the transponder(s) of interest
[AsciiParameter("as", "select")]
public TriState? AdditionalSelect { get; set; }
Property Value
Remarks
For 21xx readers when yes to selects are issued before the inventory. One from the .ts command and one from this RF command. These selects can be combined to match transponders based on two selects rather than one. This extends the air protocol to select across a full transponder EPC.
HaltOnDuration
Gets or sets the duration in milliseconds after which the inventory will stop.
[AsciiParameter("hd", "halt")]
public TimeSpan? HaltOnDuration { get; set; }
Property Value
HaltOnRounds
Gets or sets the number of rounds after which the inventory will stop.
[AsciiParameter("hr", "halt")]
public int? HaltOnRounds { get; set; }
Property Value
- int?
HaltOnTags
Gets or sets the number of tags after which the inventory will stop.
[AsciiParameter("ht", "halt")]
public int? HaltOnTags { get; set; }
Property Value
- int?
IncludeChecksum
Gets or sets a value indicating whether to include checksum information in reader responses
[AsciiParameter("c", "transponder includes")]
public TriState? IncludeChecksum { get; set; }
Property Value
IncludeIndex
Gets or sets a value indicating whether to include index numbers for multiple values in reader responses
[AsciiParameter("ix", "transponder includes")]
public TriState? IncludeIndex { get; set; }
Property Value
IncludePC
Gets or sets a value indicating whether to include the EPC PC value in reader responses
[AsciiParameter("e", "transponder includes")]
public TriState? IncludePC { get; set; }
Property Value
IncludeTransponderRssi
Gets or sets a value indicating whether to include RSSI value in reader responses
[AsciiParameter("r", "transponder includes")]
public TriState? IncludeTransponderRssi { get; set; }
Property Value
IsIncludeIndexSupported
Gets or sets a value indicating whether the IncludeIndex property is supported by this command
protected bool IsIncludeIndexSupported { get; set; }
Property Value
MaximumOutputPower
Gets or sets the maximum output power (used to bounds check OutputPower)
public int MaximumOutputPower { get; set; }
Property Value
Remarks
This value does not need to be initialized. If the value is not set it will assume the value from Current
MinimumOutputPower
Gets or sets the minimum output power (used to bounds check OutputPower)
public int MinimumOutputPower { get; set; }
Property Value
Remarks
This value does not need to be initialized. If the value is not set it will assume the value from Current
OutputPower
Gets or sets the output power in dBm between MinimumOutputPower and MaximumOutputPower or null to use the reader's current value
[AsciiParameter("o")]
public int? OutputPower { get; set; }
Property Value
- int?
Timestamp
Gets the timestamp when the command started if date and time stamp is enabled (-dt on)
[AsciiResponse("DT")]
public DateTime Timestamp { get; }
Property Value
Transponders
Gets the transponders received since the start of the last command
[AsciiResponse("CR", AsciiResponseRepeat.PerTransponder, "requires -c on")]
[AsciiResponse("EP", AsciiResponseRepeat.PerTransponder, "requires -ie on")]
[AsciiResponse("IX", AsciiResponseRepeat.PerTransponder, "requires -ix on")]
[AsciiResponse("PC", AsciiResponseRepeat.PerTransponder, "requires -e on")]
[AsciiResponse("RI", AsciiResponseRepeat.PerTransponder, "requires -r on")]
[AsciiResponse("EA", AsciiResponseRepeat.PerTransponder, "tag access commands only")]
[AsciiResponse("EB", AsciiResponseRepeat.PerTransponder, "tag access commands only")]
[AsciiResponse("KS", AsciiResponseRepeat.PerTransponder, "tag access commands only")]
[AsciiResponse("LS", AsciiResponseRepeat.PerTransponder, "tag access commands only")]
[AsciiResponse("TD", AsciiResponseRepeat.PerTransponder, "requires -fi on")]
[AsciiResponse("CF", AsciiResponseRepeat.PerTransponder, "requires -ic on")]
[AsciiResponse("PH", AsciiResponseRepeat.PerTransponder, "requires -ip on")]
[AsciiResponse("RD", AsciiResponseRepeat.PerTransponder, "read transponder command only")]
[AsciiResponse("RP", AsciiResponseRepeat.PerTransponder, "find tag command only")]
[AsciiResponse("QT", AsciiResponseRepeat.PerTransponder, "read transponder command only")]
[AsciiResponse("WW", AsciiResponseRepeat.PerTransponder, "write transponder command only")]
public IEnumerable<TransponderData> Transponders { get; }
Property Value
Methods
OnTransponderReceived(TransponderData, bool)
Called for each transponder received in the response
protected virtual void OnTransponderReceived(TransponderData transponder, bool moreToFollow)
Parameters
transponder
TransponderDataThe transponder to report
moreToFollow
boolTrue if more transponder are already queued
Events
TransponderReceived
Raised when a transponder is received
public event EventHandler<TransponderDataEventArgs> TransponderReceived