Skip to content

Commit 0596e16

Browse files
chore: rename some functions name
1 parent dbaf7b0 commit 0596e16

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

data/flows.json

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@
122122
"id": "17a8a64fa23751ed",
123123
"type": "function",
124124
"z": "09012e75c72a4968",
125-
"name": "processSerialData",
125+
"name": "processTemperatureData",
126126
"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;",
127127
"outputs": 1,
128128
"noerr": 0,
129129
"initialize": "",
130130
"finalize": "",
131131
"libs": [],
132-
"x": 930,
132+
"x": 950,
133133
"y": 460,
134134
"wires": [
135135
[
@@ -167,7 +167,7 @@
167167
"initialize": "",
168168
"finalize": "",
169169
"libs": [],
170-
"x": 1270,
170+
"x": 1250,
171171
"y": 1000,
172172
"wires": [
173173
[
@@ -198,14 +198,14 @@
198198
"id": "976a5466bc4b4345",
199199
"type": "function",
200200
"z": "09012e75c72a4968",
201-
"name": "processSerialData",
201+
"name": "processAcutatorData",
202202
"func": "msg.actuator_id = msg.serialData[\"actuator_id\"]\nmsg.state = msg.serialData[\"state\"]\nmsg.intensity_percentage = msg.serialData[\"intensity_percentage\"]\n\nreturn msg;",
203203
"outputs": 1,
204204
"noerr": 0,
205205
"initialize": "",
206206
"finalize": "",
207207
"libs": [],
208-
"x": 930,
208+
"x": 940,
209209
"y": 700,
210210
"wires": [
211211
[
@@ -217,14 +217,14 @@
217217
"id": "5224a2d0c5f5e2ff",
218218
"type": "function",
219219
"z": "09012e75c72a4968",
220-
"name": "processSerialData",
220+
"name": "processPersonEnterInRoom",
221221
"func": "msg.person_id = msg.serialData[\"person_id\"]\nmsg.room_id = msg.serialData[\"room_id\"]\nmsg.role = msg.serialData[\"person_role\"]\n\nreturn msg;",
222222
"outputs": 1,
223223
"noerr": 0,
224224
"initialize": "",
225225
"finalize": "",
226226
"libs": [],
227-
"x": 930,
227+
"x": 920,
228228
"y": 820,
229229
"wires": [
230230
[
@@ -333,14 +333,14 @@
333333
"id": "269af3b43e760d2b",
334334
"type": "function",
335335
"z": "09012e75c72a4968",
336-
"name": "processSerialData",
336+
"name": "processMedicalDeviceTracking",
337337
"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;",
338338
"outputs": 1,
339339
"noerr": 0,
340340
"initialize": "",
341341
"finalize": "",
342342
"libs": [],
343-
"x": 920,
343+
"x": 960,
344344
"y": 1000,
345345
"wires": [
346346
[
@@ -352,14 +352,14 @@
352352
"id": "637a5d6856e31424",
353353
"type": "function",
354354
"z": "09012e75c72a4968",
355-
"name": "processSerialData",
355+
"name": "processPatientOnOperatingRoom",
356356
"func": "msg.room_id = msg.serialData[\"room_id\"]\n\nreturn msg;",
357357
"outputs": 1,
358358
"noerr": 0,
359359
"initialize": "",
360360
"finalize": "",
361361
"libs": [],
362-
"x": 920,
362+
"x": 970,
363363
"y": 1060,
364364
"wires": [
365365
[
@@ -371,14 +371,14 @@
371371
"id": "37741262158114fd",
372372
"type": "function",
373373
"z": "09012e75c72a4968",
374-
"name": "processSerialData",
374+
"name": "processAvailableActuator",
375375
"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;",
376376
"outputs": 1,
377377
"noerr": 0,
378378
"initialize": "",
379379
"finalize": "",
380380
"libs": [],
381-
"x": 920,
381+
"x": 940,
382382
"y": 1120,
383383
"wires": [
384384
[
@@ -766,14 +766,14 @@
766766
"id": "e0959707dc172828",
767767
"type": "function",
768768
"z": "09012e75c72a4968",
769-
"name": "processSerialData",
769+
"name": "processHumidityData",
770770
"func": "msg.room_id = msg.serialData[\"room_id\"]\nmsg.humidity_percentage = msg.serialData[\"humidity_percentage\"]\n\nreturn msg;",
771771
"outputs": 1,
772772
"noerr": 0,
773773
"initialize": "",
774774
"finalize": "",
775775
"libs": [],
776-
"x": 930,
776+
"x": 940,
777777
"y": 520,
778778
"wires": [
779779
[
@@ -785,14 +785,14 @@
785785
"id": "2a72d09d78bb7407",
786786
"type": "function",
787787
"z": "09012e75c72a4968",
788-
"name": "processSerialData",
788+
"name": "processLuminosityData",
789789
"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;",
790790
"outputs": 1,
791791
"noerr": 0,
792792
"initialize": "",
793793
"finalize": "",
794794
"libs": [],
795-
"x": 930,
795+
"x": 950,
796796
"y": 580,
797797
"wires": [
798798
[
@@ -804,14 +804,14 @@
804804
"id": "5a61a2afa4a38b4a",
805805
"type": "function",
806806
"z": "09012e75c72a4968",
807-
"name": "processSerialData",
807+
"name": "processPersonInside",
808808
"func": "msg.room_id = msg.serialData[\"room_id\"]\nmsg.person_inside = msg.serialData[\"person_inside\"]\n\nreturn msg;",
809809
"outputs": 1,
810810
"noerr": 0,
811811
"initialize": "",
812812
"finalize": "",
813813
"libs": [],
814-
"x": 930,
814+
"x": 940,
815815
"y": 640,
816816
"wires": [
817817
[
@@ -887,7 +887,7 @@
887887
"initialize": "",
888888
"finalize": "",
889889
"libs": [],
890-
"x": 1360,
890+
"x": 1490,
891891
"y": 1180,
892892
"wires": [
893893
[
@@ -899,14 +899,14 @@
899899
"id": "5f4a2d6877405aa5",
900900
"type": "function",
901901
"z": "09012e75c72a4968",
902-
"name": "processSerialData",
902+
"name": "processMappingBetweenSerialAndArduino",
903903
"func": "msg.room_id = msg.serialData[\"room_id\"]\n\nreturn msg;",
904904
"outputs": 1,
905905
"noerr": 0,
906906
"initialize": "",
907907
"finalize": "",
908908
"libs": [],
909-
"x": 920,
909+
"x": 1010,
910910
"y": 1180,
911911
"wires": [
912912
[
@@ -925,7 +925,7 @@
925925
"createDir": false,
926926
"overwriteFile": "true",
927927
"encoding": "utf8",
928-
"x": 1560,
928+
"x": 1680,
929929
"y": 1180,
930930
"wires": [
931931
[]
@@ -982,7 +982,7 @@
982982
"sendError": false,
983983
"encoding": "utf8",
984984
"allProps": false,
985-
"x": 1150,
985+
"x": 1280,
986986
"y": 1180,
987987
"wires": [
988988
[
@@ -1293,7 +1293,7 @@
12931293
"initialize": "",
12941294
"finalize": "",
12951295
"libs": [],
1296-
"x": 2750,
1296+
"x": 2610,
12971297
"y": 1120,
12981298
"wires": [
12991299
[
@@ -1370,7 +1370,7 @@
13701370
"initialize": "",
13711371
"finalize": "",
13721372
"libs": [],
1373-
"x": 1580,
1373+
"x": 1470,
13741374
"y": 1000,
13751375
"wires": [
13761376
[
@@ -1392,7 +1392,7 @@
13921392
"proxy": "",
13931393
"authType": "",
13941394
"senderr": false,
1395-
"x": 1740,
1395+
"x": 1630,
13961396
"y": 1000,
13971397
"wires": [
13981398
[
@@ -1411,7 +1411,7 @@
14111411
"initialize": "",
14121412
"finalize": "",
14131413
"libs": [],
1414-
"x": 2690,
1414+
"x": 2570,
14151415
"y": 1000,
14161416
"wires": [
14171417
[
@@ -1430,7 +1430,7 @@
14301430
"initialize": "",
14311431
"finalize": "",
14321432
"libs": [],
1433-
"x": 1980,
1433+
"x": 1890,
14341434
"y": 1000,
14351435
"wires": [
14361436
[
@@ -1452,7 +1452,7 @@
14521452
"proxy": "",
14531453
"authType": "",
14541454
"senderr": false,
1455-
"x": 2420,
1455+
"x": 2330,
14561456
"y": 1000,
14571457
"wires": [
14581458
[
@@ -1471,7 +1471,7 @@
14711471
"initialize": "",
14721472
"finalize": "",
14731473
"libs": [],
1474-
"x": 2240,
1474+
"x": 2150,
14751475
"y": 1000,
14761476
"wires": [
14771477
[
@@ -1509,7 +1509,7 @@
15091509
"initialize": "",
15101510
"finalize": "",
15111511
"libs": [],
1512-
"x": 1680,
1512+
"x": 1550,
15131513
"y": 1060,
15141514
"wires": [
15151515
[
@@ -1531,7 +1531,7 @@
15311531
"proxy": "",
15321532
"authType": "",
15331533
"senderr": false,
1534-
"x": 1840,
1534+
"x": 1710,
15351535
"y": 1060,
15361536
"wires": [
15371537
[
@@ -1550,7 +1550,7 @@
15501550
"initialize": "",
15511551
"finalize": "",
15521552
"libs": [],
1553-
"x": 2100,
1553+
"x": 1970,
15541554
"y": 1060,
15551555
"wires": [
15561556
[
@@ -1569,7 +1569,7 @@
15691569
"initialize": "",
15701570
"finalize": "",
15711571
"libs": [],
1572-
"x": 2360,
1572+
"x": 2230,
15731573
"y": 1060,
15741574
"wires": [
15751575
[
@@ -1591,7 +1591,7 @@
15911591
"proxy": "",
15921592
"authType": "",
15931593
"senderr": false,
1594-
"x": 2540,
1594+
"x": 2410,
15951595
"y": 1060,
15961596
"wires": [
15971597
[
@@ -1610,7 +1610,7 @@
16101610
"initialize": "",
16111611
"finalize": "",
16121612
"libs": [],
1613-
"x": 2750,
1613+
"x": 2620,
16141614
"y": 1060,
16151615
"wires": [
16161616
[

0 commit comments

Comments
 (0)