public class TagExtParam extends Object
| Modifier and Type | Field and Description |
|---|---|
TagInfoId[] |
tagInfoIds
Used to determine the tag information included in the response.
|
| Constructor and Description |
|---|
TagExtParam() |
TagExtParam(byte[] epc,
byte[] tid,
byte[] pc,
short antenna,
int frequency,
int rssi,
short q) |
TagExtParam(int rssi) |
TagExtParam(int rssi,
int frequency) |
| Modifier and Type | Method and Description |
|---|---|
short |
antenna()
Returns the antenna identifier associated with the tag
|
byte[] |
epc()
Returns the tag's EPC value.
|
String |
getEpc()
Returns the tag's EPC value with HEX format.
|
int |
getFrequency()
Returns the tag's frequency value.
|
String |
getPC()
Returns the tag's PC value with HEX format.
|
float |
getRssi()
Returns the tag's RSSI value.
|
String |
getTID()
Returns the tag's TID value with HEX format.
|
String |
getUserData()
Returns the user data value with HEX format.
|
String |
getXPC()
Returns the XPC value with HEX format.
|
boolean |
isContains(TagInfoId id)
Checks if the tag information contains a specific TagInfoId.
|
byte[] |
pc()
Returns the tag's PC value.
|
float |
phaseBegin()
Returns the phase begin value.
|
float |
phaseEnd()
Returns the phase end value.
|
short |
Q()
Current Q.
|
long |
roundCnt()
Returns the round count associated with the tag.
|
void |
setAntenna(short antenna)
Sets the antenna identifier associated with the tag
|
void |
setEpc(byte[] epc)
Sets the tag's EPC value.
|
void |
setFrequency(int frequency)
Sets the tag's frequency value.
|
void |
setPc(byte[] pc)
Sets the tag's PC value.
|
void |
setPc(int pc)
Sets the tag's PC value using an integer.
|
void |
setPhaseBegin(float phaseBegin)
Sets the phase begin value.
|
void |
setPhaseEnd(float phaseEnd)
Sets the phase end value.
|
void |
setQ(short q)
Sets the Q value.
|
void |
setRoundCnt(long roundCnt)
Sets the round count associated with the tag.
|
void |
setRssi(float rssi)
Sets the tag's RSSI value.
|
void |
setTagCount(long tagCount)
Sets the number of tags detected.
|
void |
setTid(byte[] tid)
Sets the tag's TID value.
|
void |
setTimestamp(Date timestamp)
Sets the timestamp of the tag detection.
|
void |
setUserData(byte[] userData)
Sets the user data value.
|
void |
setXpc(byte[] xpc)
Sets the XPC value.
|
long |
tagCount()
Returns the number of tags detected.
|
byte[] |
tid()
Returns the tag's TID value.
|
Date |
timestamp()
Returns the timestamp of the tag detection.
|
String |
toString() |
byte[] |
userData()
Returns the user data value.
|
byte[] |
xpc()
Returns the XPC value.
|
public TagInfoId[] tagInfoIds
public TagExtParam()
public TagExtParam(int rssi)
public TagExtParam(int rssi,
int frequency)
public TagExtParam(byte[] epc,
byte[] tid,
byte[] pc,
short antenna,
int frequency,
int rssi,
short q)
public int getFrequency()
public void setFrequency(int frequency)
frequency - The frequency value to set.public float getRssi()
public void setRssi(float rssi)
rssi - The RSSI value to set.public short antenna()
public void setAntenna(short antenna)
antenna - The antenna identifier to setpublic String getPC()
public byte[] pc()
public void setPc(byte[] pc)
pc - The PC value to set.public void setPc(int pc)
pc - The PC value to set as an integer.public String getEpc()
public byte[] epc()
public void setEpc(byte[] epc)
epc - The EPC value to set.public String getTID()
public byte[] tid()
public void setTid(byte[] tid)
tid - The TID value to set.public long roundCnt()
public void setRoundCnt(long roundCnt)
roundCnt - The round count to setpublic short Q()
public void setQ(short q)
q - The Q value to setpublic long tagCount()
public void setTagCount(long tagCount)
tagCount - The tag count to setpublic String getXPC()
public byte[] xpc()
public void setXpc(byte[] xpc)
xpc - The XPC value to setpublic String getUserData()
public byte[] userData()
public void setUserData(byte[] userData)
userData - The user data value to setpublic float phaseBegin()
public void setPhaseBegin(float phaseBegin)
phaseBegin - The phase begin value to setpublic float phaseEnd()
public void setPhaseEnd(float phaseEnd)
phaseEnd - The phase end value to setpublic Date timestamp()
public void setTimestamp(Date timestamp)
timestamp - The timestamp to setpublic boolean isContains(TagInfoId id)
id - The TagInfoId to check for.