SignStixItem
In addition, this interface can trigger 'Item Mode' in which a special sign is displayed, guiding the end-user through the process of assigning tags IDs to item names. The user is invited to place the tagged item on an RFID pad when the correct item name is displayed on the screen. The list of item names to choose from is set by calling 'addItemName'. That list is not persistent but does survive until the next device re-boot.
Modifier and Type | Function and Description |
---|---|
void |
addItemName(String itemName)
Add the argument item name to the list that can be chosen from during 'Item Mode'.
|
void |
clearItemNames()
Clear the set of item names that can be chosen from during 'Item Mode'.
|
void |
clearMapping()
Clear all the mappings from tags to item names..
|
String |
findItemName(String tagId)
Find the item name in the database which corresponds to the argument tagId.
|
String |
getItemNames()
Generate a JSON-formatted string containing all the item names that will be available during
'Item Mode'.
|
String |
getMapping()
Generate a JSON-formatted string containing all the mappings from tags to item names.
|
void |
setItemName(String tagId,
String itemName)
Set in the database the item name that corresponds to the argument tag ID.
|
void |
startItemMode()
Launch 'Item Mode'.
|
String findItemName(String tagId)
tagId
- the ID from the RFID tag e.g. "EA4B58FE".void setItemName(String tagId, String itemName)
tagId
- the ID from the RFID tag e.g. "EA4B58FE".itemName
- the name of the item that this tag corresponds to e.g. "Blue Plate".String getMapping()
[ { "tagId": "EA4B58FE", "itemName": "Blue Plate" }, { "tagId": "DA4CCD31", "itemName": "Red Saucer" }, ... ]
void clearMapping()
void addItemName(String itemName)
itemName
- the item name to make available.String getItemNames()
[ "Blue Plate", "Red Cup", ... ]
void clearItemNames()
void startItemMode()