Class ReadPoint
This class contains the functionality related to read point (Antenna). It exposes functionality like enable or get read point status
Inheritance
Inherited Members
Namespace: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class ReadPoint
Methods
GetReadPointStatus(UInt16)
Gets the Read Point (Antenna) status as enabled or not
Declaration
public READPOINT_STATUS GetReadPointStatus(ushort antennaID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt16 | antennaID | This must be valid antenna ID. 0 is not valid antenna ID |
Returns
| Type | Description |
|---|---|
| READPOINT_STATUS | Read Point Status as enabled or disabled for the given antenna ID |
Remarks
This method gets the read point status for the specified antenna ID as enabled or not.
Exceptions
| Type | Condition |
|---|---|
| OperationFailureException | This exception is thrown when the parameter is invalid or not logged in |
SetReadPointStatus(UInt16, READPOINT_STATUS)
Sets the Read Point (Antenna) status to enable or disable state
Declaration
public void SetReadPointStatus(ushort antennaID, READPOINT_STATUS readpointStatus)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt16 | antennaID | This must be valid antenna ID. 0 is not valid antenna ID |
| READPOINT_STATUS | readpointStatus | Contains the value to enable or disable Read Point (Antenna) |
Remarks
To enable or disable the Antenna, this method can be invoked with antenna ID. This call will take few seconds to perform the required operation.
Exceptions
| Type | Condition |
|---|---|
| OperationFailureException | This exception is thrown when the parameter is invalid or not logged in |