|
122 | 122 | "id": "17a8a64fa23751ed", |
123 | 123 | "type": "function", |
124 | 124 | "z": "09012e75c72a4968", |
125 | | - "name": "processSerialData", |
| 125 | + "name": "processTemperatureData", |
126 | 126 | "func": "msg.room_id = msg.serialData[\"room_id\"]\nmsg.temperature_value = msg.serialData[\"temperature_value\"]\n//msg.temperature_unit = msg.serialData[\"temperature_unit\"]\n\nreturn msg;", |
127 | 127 | "outputs": 1, |
128 | 128 | "noerr": 0, |
129 | 129 | "initialize": "", |
130 | 130 | "finalize": "", |
131 | 131 | "libs": [], |
132 | | - "x": 930, |
| 132 | + "x": 950, |
133 | 133 | "y": 460, |
134 | 134 | "wires": [ |
135 | 135 | [ |
|
167 | 167 | "initialize": "", |
168 | 168 | "finalize": "", |
169 | 169 | "libs": [], |
170 | | - "x": 1270, |
| 170 | + "x": 1250, |
171 | 171 | "y": 1000, |
172 | 172 | "wires": [ |
173 | 173 | [ |
|
198 | 198 | "id": "976a5466bc4b4345", |
199 | 199 | "type": "function", |
200 | 200 | "z": "09012e75c72a4968", |
201 | | - "name": "processSerialData", |
| 201 | + "name": "processAcutatorData", |
202 | 202 | "func": "msg.actuator_id = msg.serialData[\"actuator_id\"]\nmsg.state = msg.serialData[\"state\"]\nmsg.intensity_percentage = msg.serialData[\"intensity_percentage\"]\n\nreturn msg;", |
203 | 203 | "outputs": 1, |
204 | 204 | "noerr": 0, |
205 | 205 | "initialize": "", |
206 | 206 | "finalize": "", |
207 | 207 | "libs": [], |
208 | | - "x": 930, |
| 208 | + "x": 940, |
209 | 209 | "y": 700, |
210 | 210 | "wires": [ |
211 | 211 | [ |
|
217 | 217 | "id": "5224a2d0c5f5e2ff", |
218 | 218 | "type": "function", |
219 | 219 | "z": "09012e75c72a4968", |
220 | | - "name": "processSerialData", |
| 220 | + "name": "processPersonEnterInRoom", |
221 | 221 | "func": "msg.person_id = msg.serialData[\"person_id\"]\nmsg.room_id = msg.serialData[\"room_id\"]\nmsg.role = msg.serialData[\"person_role\"]\n\nreturn msg;", |
222 | 222 | "outputs": 1, |
223 | 223 | "noerr": 0, |
224 | 224 | "initialize": "", |
225 | 225 | "finalize": "", |
226 | 226 | "libs": [], |
227 | | - "x": 930, |
| 227 | + "x": 920, |
228 | 228 | "y": 820, |
229 | 229 | "wires": [ |
230 | 230 | [ |
|
333 | 333 | "id": "269af3b43e760d2b", |
334 | 334 | "type": "function", |
335 | 335 | "z": "09012e75c72a4968", |
336 | | - "name": "processSerialData", |
| 336 | + "name": "processMedicalDeviceTracking", |
337 | 337 | "func": "msg.device_type = msg.serialData[\"device_type\"]\nmsg.device_id = msg.serialData[\"device_id\"]\nmsg.room_id = msg.serialData[\"room_id\"]\n\nreturn msg;", |
338 | 338 | "outputs": 1, |
339 | 339 | "noerr": 0, |
340 | 340 | "initialize": "", |
341 | 341 | "finalize": "", |
342 | 342 | "libs": [], |
343 | | - "x": 920, |
| 343 | + "x": 960, |
344 | 344 | "y": 1000, |
345 | 345 | "wires": [ |
346 | 346 | [ |
|
352 | 352 | "id": "637a5d6856e31424", |
353 | 353 | "type": "function", |
354 | 354 | "z": "09012e75c72a4968", |
355 | | - "name": "processSerialData", |
| 355 | + "name": "processPatientOnOperatingRoom", |
356 | 356 | "func": "msg.room_id = msg.serialData[\"room_id\"]\n\nreturn msg;", |
357 | 357 | "outputs": 1, |
358 | 358 | "noerr": 0, |
359 | 359 | "initialize": "", |
360 | 360 | "finalize": "", |
361 | 361 | "libs": [], |
362 | | - "x": 920, |
| 362 | + "x": 970, |
363 | 363 | "y": 1060, |
364 | 364 | "wires": [ |
365 | 365 | [ |
|
371 | 371 | "id": "37741262158114fd", |
372 | 372 | "type": "function", |
373 | 373 | "z": "09012e75c72a4968", |
374 | | - "name": "processSerialData", |
| 374 | + "name": "processAvailableActuator", |
375 | 375 | "func": "msg.actuator_id = msg.serialData[\"actuator_id\"]\nmsg.actuator_type = msg.serialData[\"actuator_type\"]\nmsg.room_id = msg.serialData[\"room_id\"]\n\nreturn msg;", |
376 | 376 | "outputs": 1, |
377 | 377 | "noerr": 0, |
378 | 378 | "initialize": "", |
379 | 379 | "finalize": "", |
380 | 380 | "libs": [], |
381 | | - "x": 920, |
| 381 | + "x": 940, |
382 | 382 | "y": 1120, |
383 | 383 | "wires": [ |
384 | 384 | [ |
|
766 | 766 | "id": "e0959707dc172828", |
767 | 767 | "type": "function", |
768 | 768 | "z": "09012e75c72a4968", |
769 | | - "name": "processSerialData", |
| 769 | + "name": "processHumidityData", |
770 | 770 | "func": "msg.room_id = msg.serialData[\"room_id\"]\nmsg.humidity_percentage = msg.serialData[\"humidity_percentage\"]\n\nreturn msg;", |
771 | 771 | "outputs": 1, |
772 | 772 | "noerr": 0, |
773 | 773 | "initialize": "", |
774 | 774 | "finalize": "", |
775 | 775 | "libs": [], |
776 | | - "x": 930, |
| 776 | + "x": 940, |
777 | 777 | "y": 520, |
778 | 778 | "wires": [ |
779 | 779 | [ |
|
785 | 785 | "id": "2a72d09d78bb7407", |
786 | 786 | "type": "function", |
787 | 787 | "z": "09012e75c72a4968", |
788 | | - "name": "processSerialData", |
| 788 | + "name": "processLuminosityData", |
789 | 789 | "func": "msg.room_id = msg.serialData[\"room_id\"]\nmsg.luminosity_value = msg.serialData[\"luminosity_value\"]\n//msg.luminosity_unit = msg.serialData[\"luminosity_unit\"]\n\nreturn msg;", |
790 | 790 | "outputs": 1, |
791 | 791 | "noerr": 0, |
792 | 792 | "initialize": "", |
793 | 793 | "finalize": "", |
794 | 794 | "libs": [], |
795 | | - "x": 930, |
| 795 | + "x": 950, |
796 | 796 | "y": 580, |
797 | 797 | "wires": [ |
798 | 798 | [ |
|
804 | 804 | "id": "5a61a2afa4a38b4a", |
805 | 805 | "type": "function", |
806 | 806 | "z": "09012e75c72a4968", |
807 | | - "name": "processSerialData", |
| 807 | + "name": "processPersonInside", |
808 | 808 | "func": "msg.room_id = msg.serialData[\"room_id\"]\nmsg.person_inside = msg.serialData[\"person_inside\"]\n\nreturn msg;", |
809 | 809 | "outputs": 1, |
810 | 810 | "noerr": 0, |
811 | 811 | "initialize": "", |
812 | 812 | "finalize": "", |
813 | 813 | "libs": [], |
814 | | - "x": 930, |
| 814 | + "x": 940, |
815 | 815 | "y": 640, |
816 | 816 | "wires": [ |
817 | 817 | [ |
|
887 | 887 | "initialize": "", |
888 | 888 | "finalize": "", |
889 | 889 | "libs": [], |
890 | | - "x": 1360, |
| 890 | + "x": 1490, |
891 | 891 | "y": 1180, |
892 | 892 | "wires": [ |
893 | 893 | [ |
|
899 | 899 | "id": "5f4a2d6877405aa5", |
900 | 900 | "type": "function", |
901 | 901 | "z": "09012e75c72a4968", |
902 | | - "name": "processSerialData", |
| 902 | + "name": "processMappingBetweenSerialAndArduino", |
903 | 903 | "func": "msg.room_id = msg.serialData[\"room_id\"]\n\nreturn msg;", |
904 | 904 | "outputs": 1, |
905 | 905 | "noerr": 0, |
906 | 906 | "initialize": "", |
907 | 907 | "finalize": "", |
908 | 908 | "libs": [], |
909 | | - "x": 920, |
| 909 | + "x": 1010, |
910 | 910 | "y": 1180, |
911 | 911 | "wires": [ |
912 | 912 | [ |
|
925 | 925 | "createDir": false, |
926 | 926 | "overwriteFile": "true", |
927 | 927 | "encoding": "utf8", |
928 | | - "x": 1560, |
| 928 | + "x": 1680, |
929 | 929 | "y": 1180, |
930 | 930 | "wires": [ |
931 | 931 | [] |
|
982 | 982 | "sendError": false, |
983 | 983 | "encoding": "utf8", |
984 | 984 | "allProps": false, |
985 | | - "x": 1150, |
| 985 | + "x": 1280, |
986 | 986 | "y": 1180, |
987 | 987 | "wires": [ |
988 | 988 | [ |
|
1293 | 1293 | "initialize": "", |
1294 | 1294 | "finalize": "", |
1295 | 1295 | "libs": [], |
1296 | | - "x": 2750, |
| 1296 | + "x": 2610, |
1297 | 1297 | "y": 1120, |
1298 | 1298 | "wires": [ |
1299 | 1299 | [ |
|
1370 | 1370 | "initialize": "", |
1371 | 1371 | "finalize": "", |
1372 | 1372 | "libs": [], |
1373 | | - "x": 1580, |
| 1373 | + "x": 1470, |
1374 | 1374 | "y": 1000, |
1375 | 1375 | "wires": [ |
1376 | 1376 | [ |
|
1392 | 1392 | "proxy": "", |
1393 | 1393 | "authType": "", |
1394 | 1394 | "senderr": false, |
1395 | | - "x": 1740, |
| 1395 | + "x": 1630, |
1396 | 1396 | "y": 1000, |
1397 | 1397 | "wires": [ |
1398 | 1398 | [ |
|
1411 | 1411 | "initialize": "", |
1412 | 1412 | "finalize": "", |
1413 | 1413 | "libs": [], |
1414 | | - "x": 2690, |
| 1414 | + "x": 2570, |
1415 | 1415 | "y": 1000, |
1416 | 1416 | "wires": [ |
1417 | 1417 | [ |
|
1430 | 1430 | "initialize": "", |
1431 | 1431 | "finalize": "", |
1432 | 1432 | "libs": [], |
1433 | | - "x": 1980, |
| 1433 | + "x": 1890, |
1434 | 1434 | "y": 1000, |
1435 | 1435 | "wires": [ |
1436 | 1436 | [ |
|
1452 | 1452 | "proxy": "", |
1453 | 1453 | "authType": "", |
1454 | 1454 | "senderr": false, |
1455 | | - "x": 2420, |
| 1455 | + "x": 2330, |
1456 | 1456 | "y": 1000, |
1457 | 1457 | "wires": [ |
1458 | 1458 | [ |
|
1471 | 1471 | "initialize": "", |
1472 | 1472 | "finalize": "", |
1473 | 1473 | "libs": [], |
1474 | | - "x": 2240, |
| 1474 | + "x": 2150, |
1475 | 1475 | "y": 1000, |
1476 | 1476 | "wires": [ |
1477 | 1477 | [ |
|
1509 | 1509 | "initialize": "", |
1510 | 1510 | "finalize": "", |
1511 | 1511 | "libs": [], |
1512 | | - "x": 1680, |
| 1512 | + "x": 1550, |
1513 | 1513 | "y": 1060, |
1514 | 1514 | "wires": [ |
1515 | 1515 | [ |
|
1531 | 1531 | "proxy": "", |
1532 | 1532 | "authType": "", |
1533 | 1533 | "senderr": false, |
1534 | | - "x": 1840, |
| 1534 | + "x": 1710, |
1535 | 1535 | "y": 1060, |
1536 | 1536 | "wires": [ |
1537 | 1537 | [ |
|
1550 | 1550 | "initialize": "", |
1551 | 1551 | "finalize": "", |
1552 | 1552 | "libs": [], |
1553 | | - "x": 2100, |
| 1553 | + "x": 1970, |
1554 | 1554 | "y": 1060, |
1555 | 1555 | "wires": [ |
1556 | 1556 | [ |
|
1569 | 1569 | "initialize": "", |
1570 | 1570 | "finalize": "", |
1571 | 1571 | "libs": [], |
1572 | | - "x": 2360, |
| 1572 | + "x": 2230, |
1573 | 1573 | "y": 1060, |
1574 | 1574 | "wires": [ |
1575 | 1575 | [ |
|
1591 | 1591 | "proxy": "", |
1592 | 1592 | "authType": "", |
1593 | 1593 | "senderr": false, |
1594 | | - "x": 2540, |
| 1594 | + "x": 2410, |
1595 | 1595 | "y": 1060, |
1596 | 1596 | "wires": [ |
1597 | 1597 | [ |
|
1610 | 1610 | "initialize": "", |
1611 | 1611 | "finalize": "", |
1612 | 1612 | "libs": [], |
1613 | | - "x": 2750, |
| 1613 | + "x": 2620, |
1614 | 1614 | "y": 1060, |
1615 | 1615 | "wires": [ |
1616 | 1616 | [ |
|
0 commit comments