Needle Detector App
Introduction
Section titled “Introduction”The purpose of the Needle Detector App is to scan pieces in the last finishing operation and provide basic statistics of the scanned pieces.
The app utilizes KeyCloak for authentication. The user is required to login to the app using their credentials. The app requires the user to have the following roles:
scanning:statics:getscanning:scanning:scan
App is mainly compose of two parts:
Section titled “App is mainly compose of two parts:”All of these roles are assigned to the needle detector group in keycloak.
1. Scanning
Section titled “1. Scanning”On the Scanning Page there are two necessary selections to start scanning:
- User needs to choose between two types of scanners.
- UHF Scanner.
- Barcode Scanner.
- User need to choose the Line on which they want to scan.
After above two selections, user can start scanning the pieces.
Barcode Scanning
Section titled “Barcode Scanning”When using the barcode scanner:
- User scans the barcode through which we gets UPC (Universal Product Code).
- If the UPC is found in the database, the app updates the scan count for that user on the current day else a new entry is created for the scanned UPC.
UHF Scanning
Section titled “UHF Scanning”When using the UHF scanner:
- The user scans the Customer Tag on the piece, which provides an EPC (Electronic Product Code).
- The app decodes the EPC to extract the associated UPC.
- If an entry already exists for the scanned EPC, an error is displayed to avoid duplicate scans.
- If the UPC exists in the database, the scan count for that user is updated for the current day else a new entry is created for the scanned UPC.
- Additionally, a new entry is created for the scanned EPC for future checks.
2. Statics
Section titled “2. Statics”On the Statistics Page, users can review their scanning performance for the current day. This includes a detailed breakdown of how many pieces they’ve scanned for each Style, Color, and Size.
User can also view statistics for all previous days, categorized by:
- Style Number
- Color
- Size