Class Antennas
This class represents the Antenna of the reader
Inheritance
System.Object
Antennas
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class Antennas
Properties
AvailableAntennas
Gets the available antenna
Declaration
public ushort[] AvailableAntennas { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt16[] |
Item[Int32]
Gets the Antenna properties based on the index
Declaration
public Antennas.AntennaProperties this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Specifies the antenna ID interested |
Property Value
| Type | Description |
|---|---|
| Antennas.AntennaProperties | This method returns antenna properties object |
Exceptions
| Type | Condition |
|---|---|
| System.Exception | Index out of range exception is thrown when index is out of antenna range |
Length
Returns the number of antenna supported
Declaration
public int Length { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
SetConfig(Antennas.Config)
Sets the Antenna Configuration (Applies to all the antennas)
Declaration
public void SetConfig(Antennas.Config antennaConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| Antennas.Config | antennaConfig | Antenna configuations |
SetRFMode(Antennas.RFMode)
Sets the RF Mode to be used with the inventory operations (Applies to all antennas)
Declaration
public void SetRFMode(Antennas.RFMode antennaRFMode)
Parameters
| Type | Name | Description |
|---|---|---|
| Antennas.RFMode | antennaRFMode | Contains RF Mode table index and Tari |