public class ModuleUHFRM100
extends com.unitech.lib.uhf.module.BaseModuleUHF
| Constructor and Description |
|---|
ModuleUHFRM100(com.unitech.lib.device.IReader reader,
com.unitech.lib.protocol.IProtocol protocol,
IModuleRfidUhfEventListener listener,
int handle)
Create an instance of the BaseModuleUHF class.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertPassword(java.lang.String password) |
protected void |
assertSelectMask(int index) |
protected ResultCode |
clearSelectMask() |
AlgorithmType |
getAlgorithmType() |
BLFType |
getBLF() |
RFIDConfig |
getConfig() |
boolean |
getContinuousMode() |
Encoding |
getEncoding() |
boolean |
getFastMode()
Returns the status of the fast mode that the RFID UHF module of the appliance uses to perform
the inventory.
|
int |
getIdleTime() |
int |
getInventoryTime() |
Mask6cAction |
getMask6cAction(int index) |
BankType |
getMask6cBank(int index) |
int |
getMask6cMaxSize() |
int |
getMask6cOffset(int index) |
<any> |
getMask6cPattern(int index) |
Mask6cTarget |
getMask6cTarget(int index) |
boolean |
getMask6cUsed(int index) |
int |
getMaxQ() |
int |
getMinQ() |
int |
getModuleProfile() |
int |
getPower() |
<any> |
getPowerGainRange() |
PowerMode |
getPowerMode() |
GlobalBandType |
getRegion() |
Session |
getSession() |
SKUType |
getSKU() |
int |
getStartQ() |
Target |
getTarget() |
TARIType |
getTARI() |
double |
getTemperature() |
boolean |
getToggleTarget()
Returns the status of the toggle target that the RFID UHF module of the appliance uses to perform
the inventory.
|
java.lang.String |
getVersion() |
boolean |
initModule() |
protected SelectMask6cParam |
initSelectMask6cParam() |
ResultCode |
inventory() |
ResultCode |
killTag(java.lang.String password) |
ResultCode |
lock(Lock6cParam param,
java.lang.String password) |
ResultCode |
permaLock(PermaLock6cParam param,
java.lang.String password) |
void |
PumpEvent(int subCmd,
java.lang.Object data) |
ResultCode |
readMemory(BankType bank,
int offset,
int length,
java.lang.String password) |
void |
setAlgorithmType(AlgorithmType type) |
void |
setBLF(BLFType type) |
void |
setConfig(RFIDConfig rfidConfig) |
void |
setContinuousMode(boolean enabled) |
void |
setEncoding(Encoding encoding) |
void |
setFastMode(boolean enabled)
Sets the status of the fast mode that the RFID UHF module of the appliance uses to perform
the inventory.
|
void |
setIdleTime(int idleTime) |
void |
setIdleTimeEx(int idleTime) |
void |
setInventoryTime(int time) |
void |
setMask6cAction(int index,
Mask6cAction action) |
void |
setMask6cBank(int index,
BankType bankType) |
void |
setMask6cOffset(int index,
int value) |
void |
setMask6cPattern(int index,
java.lang.String pattern,
int length) |
void |
setMask6cTarget(int index,
Mask6cTarget target) |
void |
setMask6cUsed(int index,
boolean enabled) |
void |
setMaxQ(int value) |
void |
setMinQ(int value) |
void |
setModuleProfile(int id) |
void |
setPower(int power) |
void |
setPowerMode(PowerMode powerMode) |
void |
setRegion(GlobalBandType type) |
protected ResultCode |
setSelectMask() |
void |
setSession(Session session) |
void |
setStartQ(int value) |
void |
setTarget(Target target) |
void |
setTARI(TARIType type) |
void |
setToggleTarget(boolean enabled)
Sets the status of the toggle target that the RFID UHF module of the appliance uses to perform
the inventory.
|
ResultCode |
stopAction() |
void |
updateHandle(int handle) |
ResultCode |
writeMemory(BankType bank,
int offset,
java.lang.String data,
java.lang.String password) |
public ModuleUHFRM100(com.unitech.lib.device.IReader reader,
com.unitech.lib.protocol.IProtocol protocol,
IModuleRfidUhfEventListener listener,
int handle)
reader - The reader class which the module installed.protocol - The connection protocol.listener - The listener for module event.handle - The RM100's handlepublic boolean initModule()
public RFIDConfig getConfig() throws ReaderException
ReaderExceptionpublic void setConfig(RFIDConfig rfidConfig) throws ReaderException
ReaderExceptionpublic <any> getPowerGainRange()
public GlobalBandType getRegion() throws ReaderException
ReaderExceptionpublic void setRegion(GlobalBandType type) throws ReaderException
ReaderExceptionpublic boolean getContinuousMode()
throws ReaderException
ReaderExceptionpublic void setContinuousMode(boolean enabled)
throws ReaderException
ReaderExceptionpublic int getInventoryTime()
throws ReaderException
ReaderExceptionpublic void setInventoryTime(int time)
throws ReaderException
ReaderExceptionpublic int getIdleTime()
throws ReaderException
ReaderExceptionpublic void setIdleTime(int idleTime)
throws ReaderException
ReaderExceptionpublic void setIdleTimeEx(int idleTime)
throws ReaderException
ReaderExceptionpublic Session getSession() throws ReaderException
ReaderExceptionpublic void setSession(Session session) throws ReaderException
ReaderExceptionpublic AlgorithmType getAlgorithmType() throws ReaderException
ReaderExceptionpublic void setAlgorithmType(AlgorithmType type) throws ReaderException
ReaderExceptionpublic Target getTarget() throws ReaderException
ReaderExceptionpublic void setTarget(Target target) throws ReaderException
ReaderExceptionpublic Encoding getEncoding() throws ReaderException
ReaderExceptionpublic void setEncoding(Encoding encoding) throws ReaderException
ReaderExceptionpublic int getStartQ()
throws ReaderException
ReaderExceptionpublic void setStartQ(int value)
throws ReaderException
ReaderExceptionpublic int getMinQ()
throws ReaderException
ReaderExceptionpublic void setMinQ(int value)
throws ReaderException
ReaderExceptionpublic int getMaxQ()
throws ReaderException
ReaderExceptionpublic void setMaxQ(int value)
throws ReaderException
ReaderExceptionpublic TARIType getTARI() throws ReaderException
ReaderExceptionpublic void setTARI(TARIType type) throws ReaderException
ReaderExceptionpublic BLFType getBLF() throws ReaderException
ReaderExceptionpublic void setBLF(BLFType type) throws ReaderException
ReaderExceptionpublic boolean getToggleTarget()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public void setToggleTarget(boolean enabled)
throws ReaderException
enabled - The toggle target status.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public boolean getFastMode()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public void setFastMode(boolean enabled)
throws ReaderException
enabled - The fast mode status.ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public int getPower()
throws ReaderException
ReaderExceptionpublic void setPower(int power)
throws ReaderException
ReaderExceptionpublic SKUType getSKU() throws ReaderException
ReaderExceptionpublic java.lang.String getVersion()
throws ReaderException
ReaderExceptionpublic int getModuleProfile()
throws ReaderException
ReaderExceptionpublic void setModuleProfile(int id)
throws ReaderException
ReaderExceptionpublic PowerMode getPowerMode()
public void setPowerMode(PowerMode powerMode)
public double getTemperature()
throws ReaderException
ReaderExceptionpublic ResultCode inventory()
public ResultCode stopAction()
public ResultCode readMemory(BankType bank, int offset, int length, java.lang.String password)
public ResultCode writeMemory(BankType bank, int offset, java.lang.String data, java.lang.String password)
public ResultCode killTag(java.lang.String password)
public ResultCode lock(Lock6cParam param, java.lang.String password)
public ResultCode permaLock(PermaLock6cParam param, java.lang.String password)
protected SelectMask6cParam initSelectMask6cParam()
protected ResultCode setSelectMask()
protected ResultCode clearSelectMask()
public boolean getMask6cUsed(int index)
throws ReaderException
ReaderExceptionpublic void setMask6cUsed(int index,
boolean enabled)
throws ReaderException
ReaderExceptionpublic Mask6cTarget getMask6cTarget(int index) throws ReaderException
ReaderExceptionpublic void setMask6cTarget(int index,
Mask6cTarget target)
throws ReaderException
ReaderExceptionpublic Mask6cAction getMask6cAction(int index) throws ReaderException
ReaderExceptionpublic void setMask6cAction(int index,
Mask6cAction action)
throws ReaderException
ReaderExceptionpublic BankType getMask6cBank(int index) throws ReaderException
ReaderExceptionpublic void setMask6cBank(int index,
BankType bankType)
throws ReaderException
ReaderExceptionpublic int getMask6cOffset(int index)
throws ReaderException
ReaderExceptionpublic void setMask6cOffset(int index,
int value)
throws ReaderException
ReaderExceptionpublic <any> getMask6cPattern(int index)
throws ReaderException
ReaderExceptionpublic void setMask6cPattern(int index,
java.lang.String pattern,
int length)
throws ReaderException
ReaderExceptionpublic int getMask6cMaxSize()
public void updateHandle(int handle)
public void PumpEvent(int subCmd,
java.lang.Object data)
PumpEvent in class com.unitech.lib.uhf.module.BaseModuleUHFprotected void assertSelectMask(int index)
throws ReaderException
ReaderExceptionprotected void assertPassword(java.lang.String password)
throws ReaderException
ReaderException