Research Article
Platform Tolerant RFID Tag Antenna Design for Safety and Real-Time Tracking of On-site Workers at Riskier Workplaces
(1) | btnsubmit < - SubmitButton | (2) | csv < - comma separated values | (3) | ts < - timestamp | (4) | fetch csv file every 5 seconds | (5) | split the received data into rows | (6) | create an array of rows | (7) | remove the first two entries of array displaying ts and reader details (not required in table) | (8) | join the array back into rows | (9) | get each cell entry separately using Papa.parse() function | (10) | if (EPC is repeated) then | (11) | remove duplicate entry | (12) | else | (13) | add entry to table | (14) | end | (15) | add a column for time using add DataToTable() | (16) | if (EPC read) then | (17) | start function showtime() | (18) | show time in the format 00: 00: 00 | (19) | else | (20) | Return to step 9 | (21) | End | (22) | if (time is equal to shift ending time) then | (23) | click btnsubmit automatically (visibility: hidden) | (24) | data is submitted | (25) | reset table | (26) | data stored in firebase backend | (27) | else | (28) | keep receiving data | (29) | End |
|