Class Zones
This Class contains the configuration of the Zones used for RFID Operations. The Zone Configuration will be used when the RFID Operation (eg. Inventory) is performed on the reader. The Antennas specified in the ZoneSequence to perform Inventory will use the configuration specified in this class.
Inheritance
Inherited Members
Namespace: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class Zones
Constructors
Zones()
Constructor which creates the Place holder for Zone Sequence
Declaration
public Zones()
Properties
Length
No of Zones Configured
Declaration
public int Length { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
Add(Zones.ZoneConfig)
Method to Add Zone ZoneConfig Object
Declaration
public void Add(Zones.ZoneConfig zoneConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| Zones.ZoneConfig | zoneConfig | Configuration of the Zone |
Add(UInt16, String, AntennaConfig[])
Method to add a New Zone without AntennaGlobalConfiguration
Declaration
public void Add(ushort zoneId, string zoneName, AntennaConfig[] antennaConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt16 | zoneId | Unique Id of the Zone |
| System.String | zoneName | Name to Identify the Zone |
| AntennaConfig[] | antennaConfig | Configuration of the Antennas part of the Zone |
Add(UInt16, String, AntennaConfig[], AntennaConfig)
Method to Add Zone with all Configurations
Declaration
public void Add(ushort zoneId, string zoneName, AntennaConfig[] antennaConfig, AntennaConfig globalAntennaConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt16 | zoneId | Unique Id of the Zone |
| System.String | zoneName | Name to Identify the Zone |
| AntennaConfig[] | antennaConfig | Configuration of the Antennas part of the Zone |
| AntennaConfig | globalAntennaConfig | Configuration appllicable to all Antennas in this Zone |
Delete(UInt16)
Method to delete the Zone
Declaration
public void Delete(ushort zoneID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt16 | zoneID | The Zone ID to be deleted, value 0 will delete all Zones |
GetZoneConfig(UInt16)
Method to get the Zone configuration
Declaration
public Zones.ZoneConfig GetZoneConfig(ushort zoneId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt16 | zoneId | Zone Id of which the configuration to be retrived |
Returns
| Type | Description |
|---|---|
| Zones.ZoneConfig | Zone configuration of the Zone Id specified |
GetZoneIDList()
Method to get the list of Zones configured in the system
Declaration
public ushort[] GetZoneIDList()
Returns
| Type | Description |
|---|---|
| System.UInt16[] | List of Zones configured |