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
ReaderException
public void setConfig(RFIDConfig rfidConfig) throws ReaderException
ReaderException
public <any> getPowerGainRange()
public GlobalBandType getRegion() throws ReaderException
ReaderException
public void setRegion(GlobalBandType type) throws ReaderException
ReaderException
public boolean getContinuousMode() throws ReaderException
ReaderException
public void setContinuousMode(boolean enabled) throws ReaderException
ReaderException
public int getInventoryTime() throws ReaderException
ReaderException
public void setInventoryTime(int time) throws ReaderException
ReaderException
public int getIdleTime() throws ReaderException
ReaderException
public void setIdleTime(int idleTime) throws ReaderException
ReaderException
public void setIdleTimeEx(int idleTime) throws ReaderException
ReaderException
public Session getSession() throws ReaderException
ReaderException
public void setSession(Session session) throws ReaderException
ReaderException
public AlgorithmType getAlgorithmType() throws ReaderException
ReaderException
public void setAlgorithmType(AlgorithmType type) throws ReaderException
ReaderException
public Target getTarget() throws ReaderException
ReaderException
public void setTarget(Target target) throws ReaderException
ReaderException
public Encoding getEncoding() throws ReaderException
ReaderException
public void setEncoding(Encoding encoding) throws ReaderException
ReaderException
public int getStartQ() throws ReaderException
ReaderException
public void setStartQ(int value) throws ReaderException
ReaderException
public int getMinQ() throws ReaderException
ReaderException
public void setMinQ(int value) throws ReaderException
ReaderException
public int getMaxQ() throws ReaderException
ReaderException
public void setMaxQ(int value) throws ReaderException
ReaderException
public TARIType getTARI() throws ReaderException
ReaderException
public void setTARI(TARIType type) throws ReaderException
ReaderException
public BLFType getBLF() throws ReaderException
ReaderException
public void setBLF(BLFType type) throws ReaderException
ReaderException
public 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
ReaderException
public void setPower(int power) throws ReaderException
ReaderException
public SKUType getSKU() throws ReaderException
ReaderException
public java.lang.String getVersion() throws ReaderException
ReaderException
public int getModuleProfile() throws ReaderException
ReaderException
public void setModuleProfile(int id) throws ReaderException
ReaderException
public PowerMode getPowerMode()
public void setPowerMode(PowerMode powerMode)
public double getTemperature() throws ReaderException
ReaderException
public 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
ReaderException
public void setMask6cUsed(int index, boolean enabled) throws ReaderException
ReaderException
public Mask6cTarget getMask6cTarget(int index) throws ReaderException
ReaderException
public void setMask6cTarget(int index, Mask6cTarget target) throws ReaderException
ReaderException
public Mask6cAction getMask6cAction(int index) throws ReaderException
ReaderException
public void setMask6cAction(int index, Mask6cAction action) throws ReaderException
ReaderException
public BankType getMask6cBank(int index) throws ReaderException
ReaderException
public void setMask6cBank(int index, BankType bankType) throws ReaderException
ReaderException
public int getMask6cOffset(int index) throws ReaderException
ReaderException
public void setMask6cOffset(int index, int value) throws ReaderException
ReaderException
public <any> getMask6cPattern(int index) throws ReaderException
ReaderException
public void setMask6cPattern(int index, java.lang.String pattern, int length) throws ReaderException
ReaderException
public int getMask6cMaxSize()
public void updateHandle(int handle)
public void PumpEvent(int subCmd, java.lang.Object data)
PumpEvent
in class com.unitech.lib.uhf.module.BaseModuleUHF
protected void assertSelectMask(int index) throws ReaderException
ReaderException
protected void assertPassword(java.lang.String password) throws ReaderException
ReaderException