feat: select first pallet

This commit is contained in:
Pablo Natek 2024-04-18 07:17:52 +02:00
parent 2a7fa0eaef
commit 51c4f8eafe
4 changed files with 98 additions and 2 deletions

14
2024-04-10.txt Normal file
View File

@ -0,0 +1,14 @@
{"palletFk":193997,"missing":"11","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8018838,8018806,8018735,8018928,8018702,8016171,8016203,8019085,8018631,8018416,8018439","timestamp":"2024-04-09T23:00:00.000Z","antenna1":3,"antenna2":5,"antenna3":1,"antenna4":0,"total":"18"}
{"palletFk":199861,"missing":"14","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8139227,8139283,8139304,8139324,8139291,8139275,8139223,8139332,8138957,8139236,8139059,8139049,8139228,8139411","timestamp":"2024-04-10T11:28:24.000Z","antenna1":1,"antenna2":0,"antenna3":1,"antenna4":1,"total":"15"}
{"palletFk":199875,"missing":"1","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8139736","timestamp":"2024-04-10T10:15:12.000Z","antenna1":9,"antenna2":7,"antenna3":15,"antenna4":7,"total":"19"}
{"palletFk":199876,"missing":"11","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8139233","observationMissing":"8138976,8139001,8139078,8139053,8138856,8138901,8138969,8139011,8139044,8139678,8139061","timestamp":"2024-04-10T10:20:40.000Z","antenna1":1,"antenna2":1,"antenna3":2,"antenna4":0,"total":"14"}
{"palletFk":199877,"missing":"17","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8140014,8140024,8139989,8139821,8139882,8139922,8139971,8140023,8139185,8139988,8140049,8139940,8139899,8139337,8139769,8139536,8139298","timestamp":"2024-04-10T10:28:40.000Z","antenna1":0,"antenna2":0,"antenna3":1,"antenna4":0,"total":"18"}
{"palletFk":199879,"missing":"14","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8139233","observationMissing":"8139803,8139750,8139493,8140043,8140067,8140018,8139794,8139828,8139580,8139607,8139585,8140167,8139453,8140106","timestamp":"2024-04-10T10:36:56.000Z","antenna1":3,"antenna2":3,"antenna3":2,"antenna4":2,"total":"21"}
{"palletFk":199977,"missing":"2","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8141245","observationMissing":"8141674,8141096","timestamp":"2024-04-10T14:24:08.000Z","antenna1":8,"antenna2":12,"antenna3":9,"antenna4":2,"total":"18"}
{"palletFk":199978,"missing":"2","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8140959,8141437","timestamp":"2024-04-10T14:25:44.000Z","antenna1":11,"antenna2":17,"antenna3":11,"antenna4":14,"total":"24"}
{"palletFk":199988,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-10T14:41:05.000Z","antenna1":8,"antenna2":12,"antenna3":8,"antenna4":4,"total":"15"}
{"palletFk":199994,"missing":"2","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8142021,8140949","timestamp":"2024-04-10T14:46:10.000Z","antenna1":11,"antenna2":7,"antenna3":11,"antenna4":7,"total":"17"}
{"palletFk":200044,"missing":"17","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8143127,8142849,8143649,8143640,8143112,8143082,8143622,8143621,8143644,8143888,8143853,8142819,8142859,8143706,8143574,8143625,8143688","timestamp":"2024-04-10T16:48:02.000Z","antenna1":0,"antenna2":3,"antenna3":1,"antenna4":0,"total":"21"}
{"palletFk":200048,"missing":"15","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8143049,8143103,8143062,8143109,8143113,8143091,8143316,8143536,8143073,8143466,8142671,8142873,8142984,8142847,8143465","timestamp":"2024-04-10T16:54:05.000Z","antenna1":0,"antenna2":2,"antenna3":2,"antenna4":0,"total":"19"}
{"palletFk":200049,"missing":"21","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8143352,8143561,8143169,8143129,8143105,8143095,8143093,8143068,8143674,8143775,8143342,8143288,8143840,8142791,8143348,8143322,8143367,8143406,8143786,8143711,8143741","timestamp":"2024-04-10T17:00:10.000Z","antenna1":0,"antenna2":2,"antenna3":0,"antenna4":0,"total":"23"}
{"palletFk":200089,"missing":"11","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8144247,8144274,8144384,8143700,8143774,8143748,8142699,8143627,8144447,8143297,8143863","timestamp":"2024-04-10T18:18:46.000Z","antenna1":1,"antenna2":6,"antenna3":1,"antenna4":1,"total":"20"}

45
2024-04-16.txt Normal file
View File

@ -0,0 +1,45 @@
{"palletFk":201229,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:22:16.000Z","antenna1":8,"antenna2":15,"antenna3":16,"antenna4":5,"total":"20"}
{"palletFk":201230,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:21:32.000Z","antenna1":9,"antenna2":13,"antenna3":14,"antenna4":3,"total":"20"}
{"palletFk":201232,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:18:38.000Z","antenna1":10,"antenna2":16,"antenna3":8,"antenna4":5,"total":"18"}
{"palletFk":201256,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:20:48.000Z","antenna1":14,"antenna2":17,"antenna3":14,"antenna4":10,"total":"22"}
{"palletFk":201280,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8168978","observationMissing":"","timestamp":"2024-04-16T12:24:02.000Z","antenna1":10,"antenna2":18,"antenna3":16,"antenna4":10,"total":"19"}
{"palletFk":201293,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:45:07.000Z","antenna1":11,"antenna2":17,"antenna3":14,"antenna4":4,"total":"21"}
{"palletFk":201294,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:30:13.000Z","antenna1":9,"antenna2":19,"antenna3":15,"antenna4":10,"total":"23"}
{"palletFk":201295,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:31:36.000Z","antenna1":7,"antenna2":17,"antenna3":14,"antenna4":6,"total":"20"}
{"palletFk":201296,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:33:18.000Z","antenna1":11,"antenna2":16,"antenna3":12,"antenna4":11,"total":"18"}
{"palletFk":201298,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:40:38.000Z","antenna1":11,"antenna2":14,"antenna3":13,"antenna4":10,"total":"21"}
{"palletFk":201300,"missing":"1","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8169503","timestamp":"2024-04-16T12:42:39.000Z","antenna1":7,"antenna2":17,"antenna3":14,"antenna4":12,"total":"20"}
{"palletFk":201301,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:47:30.000Z","antenna1":6,"antenna2":10,"antenna3":16,"antenna4":9,"total":"20"}
{"palletFk":201302,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:48:53.000Z","antenna1":9,"antenna2":16,"antenna3":11,"antenna4":9,"total":"18"}
{"palletFk":201303,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T12:53:08.000Z","antenna1":10,"antenna2":17,"antenna3":15,"antenna4":3,"total":"21"}
{"palletFk":201306,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8169685","observationMissing":"","timestamp":"2024-04-16T13:03:56.000Z","antenna1":10,"antenna2":18,"antenna3":13,"antenna4":9,"total":"19"}
{"palletFk":201307,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T13:05:38.000Z","antenna1":16,"antenna2":19,"antenna3":12,"antenna4":6,"total":"23"}
{"palletFk":201308,"missing":"1","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8169269","timestamp":"2024-04-16T13:11:37.000Z","antenna1":10,"antenna2":18,"antenna3":13,"antenna4":5,"total":"23"}
{"palletFk":201309,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T13:12:50.000Z","antenna1":10,"antenna2":14,"antenna3":12,"antenna4":5,"total":"18"}
{"palletFk":201310,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T13:15:25.000Z","antenna1":8,"antenna2":14,"antenna3":11,"antenna4":8,"total":"17"}
{"palletFk":201313,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T13:20:20.000Z","antenna1":7,"antenna2":14,"antenna3":10,"antenna4":10,"total":"19"}
{"palletFk":201314,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8170068","observationMissing":"","timestamp":"2024-04-16T13:26:39.000Z","antenna1":13,"antenna2":12,"antenna3":11,"antenna4":0,"total":"19"}
{"palletFk":201315,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T13:34:33.000Z","antenna1":10,"antenna2":17,"antenna3":9,"antenna4":9,"total":"21"}
{"palletFk":201316,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T13:36:26.000Z","antenna1":10,"antenna2":17,"antenna3":11,"antenna4":6,"total":"21"}
{"palletFk":201317,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8170500","observationMissing":"","timestamp":"2024-04-16T13:59:08.000Z","antenna1":4,"antenna2":9,"antenna3":7,"antenna4":4,"total":"11"}
{"palletFk":201322,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T15:54:13.000Z","antenna1":4,"antenna2":1,"antenna3":5,"antenna4":4,"total":"8"}
{"palletFk":201323,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T13:53:17.000Z","antenna1":5,"antenna2":15,"antenna3":7,"antenna4":4,"total":"18"}
{"palletFk":201328,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8169825","observationMissing":"","timestamp":"2024-04-16T13:54:04.000Z","antenna1":9,"antenna2":14,"antenna3":11,"antenna4":11,"total":"20"}
{"palletFk":201329,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T13:56:03.000Z","antenna1":6,"antenna2":14,"antenna3":7,"antenna4":5,"total":"16"}
{"palletFk":201330,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T14:01:08.000Z","antenna1":7,"antenna2":7,"antenna3":14,"antenna4":5,"total":"17"}
{"palletFk":201340,"missing":"3","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8169630,8169628,8169629","timestamp":"2024-04-16T14:16:18.000Z","antenna1":8,"antenna2":12,"antenna3":11,"antenna4":5,"total":"20"}
{"palletFk":201360,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T14:55:17.000Z","antenna1":8,"antenna2":15,"antenna3":12,"antenna4":7,"total":"20"}
{"palletFk":201362,"missing":"2","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8169272","observationMissing":"8169731,8169615","timestamp":"2024-04-16T15:00:37.000Z","antenna1":5,"antenna2":9,"antenna3":5,"antenna4":5,"total":"17"}
{"palletFk":201371,"missing":"2","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8170404,8170209","timestamp":"2024-04-16T15:44:54.000Z","antenna1":5,"antenna2":3,"antenna3":5,"antenna4":4,"total":"10"}
{"palletFk":201381,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T16:02:44.000Z","antenna1":6,"antenna2":14,"antenna3":7,"antenna4":9,"total":"17"}
{"palletFk":201382,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T16:03:55.000Z","antenna1":9,"antenna2":13,"antenna3":14,"antenna4":12,"total":"22"}
{"palletFk":201383,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T16:06:25.000Z","antenna1":7,"antenna2":13,"antenna3":9,"antenna4":9,"total":"17"}
{"palletFk":201384,"missing":"1","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8171159","timestamp":"2024-04-16T16:07:47.000Z","antenna1":7,"antenna2":14,"antenna3":13,"antenna4":8,"total":"19"}
{"palletFk":201385,"missing":"0","powerType":"VDT3","extra":"2","antennaReads":null,"observationExtra":"8171322,8170960","observationMissing":"","timestamp":"2024-04-16T16:10:10.000Z","antenna1":10,"antenna2":17,"antenna3":12,"antenna4":13,"total":"17"}
{"palletFk":201386,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T16:19:44.000Z","antenna1":10,"antenna2":16,"antenna3":15,"antenna4":9,"total":"23"}
{"palletFk":201390,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T16:40:34.000Z","antenna1":7,"antenna2":13,"antenna3":8,"antenna4":7,"total":"16"}
{"palletFk":201391,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T16:42:18.000Z","antenna1":9,"antenna2":13,"antenna3":10,"antenna4":5,"total":"18"}
{"palletFk":201392,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8170738","observationMissing":"","timestamp":"2024-04-16T16:43:47.000Z","antenna1":12,"antenna2":19,"antenna3":17,"antenna4":7,"total":"21"}
{"palletFk":201393,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8171747","observationMissing":"","timestamp":"2024-04-16T16:46:45.000Z","antenna1":10,"antenna2":15,"antenna3":16,"antenna4":13,"total":"23"}
{"palletFk":201395,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T16:45:14.000Z","antenna1":6,"antenna2":15,"antenna3":5,"antenna4":9,"total":"18"}
{"palletFk":201399,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-16T16:48:22.000Z","antenna1":7,"antenna2":13,"antenna3":11,"antenna4":8,"total":"18"}

37
2024-04-17.txt Normal file
View File

@ -0,0 +1,37 @@
{"palletFk":201507,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:11:54.000Z","antenna1":11,"antenna2":18,"antenna3":9,"antenna4":7,"total":"22"}
{"palletFk":201508,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8172953","observationMissing":"","timestamp":"2024-04-17T10:09:58.000Z","antenna1":12,"antenna2":15,"antenna3":16,"antenna4":10,"total":"20"}
{"palletFk":201509,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:15:11.000Z","antenna1":11,"antenna2":17,"antenna3":9,"antenna4":10,"total":"20"}
{"palletFk":201510,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:16:18.000Z","antenna1":12,"antenna2":18,"antenna3":16,"antenna4":16,"total":"22"}
{"palletFk":201511,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:19:31.000Z","antenna1":15,"antenna2":16,"antenna3":14,"antenna4":10,"total":"22"}
{"palletFk":201512,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:21:05.000Z","antenna1":13,"antenna2":16,"antenna3":11,"antenna4":9,"total":"18"}
{"palletFk":201519,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:22:21.000Z","antenna1":7,"antenna2":9,"antenna3":7,"antenna4":8,"total":"10"}
{"palletFk":201522,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:25:03.000Z","antenna1":12,"antenna2":14,"antenna3":16,"antenna4":10,"total":"21"}
{"palletFk":201525,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:29:31.000Z","antenna1":16,"antenna2":15,"antenna3":11,"antenna4":10,"total":"19"}
{"palletFk":201526,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:34:32.000Z","antenna1":16,"antenna2":16,"antenna3":11,"antenna4":4,"total":"21"}
{"palletFk":201527,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:39:01.000Z","antenna1":14,"antenna2":17,"antenna3":15,"antenna4":11,"total":"19"}
{"palletFk":201535,"missing":"0","powerType":"VDT3","extra":"2","antennaReads":null,"observationExtra":"8173504,8172946","observationMissing":"","timestamp":"2024-04-17T10:49:11.000Z","antenna1":9,"antenna2":12,"antenna3":8,"antenna4":8,"total":"12"}
{"palletFk":201537,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T10:54:18.000Z","antenna1":3,"antenna2":7,"antenna3":4,"antenna4":3,"total":"7"}
{"palletFk":201538,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T11:02:48.000Z","antenna1":16,"antenna2":11,"antenna3":12,"antenna4":12,"total":"22"}
{"palletFk":201539,"missing":"0","powerType":"VDT3","extra":"4","antennaReads":null,"observationExtra":"8174509,8174104,8174033,8174503","observationMissing":"","timestamp":"2024-04-17T11:24:08.000Z","antenna1":13,"antenna2":14,"antenna3":12,"antenna4":15,"total":"18"}
{"palletFk":201552,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T11:25:17.000Z","antenna1":11,"antenna2":13,"antenna3":13,"antenna4":9,"total":"19"}
{"palletFk":201575,"missing":"18","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8174282,8174799,8174873,8173726,8174090,8174071,8173629,8173604,8173691,8173623,8173628,8174535,8173454,8173481,8174191,8174117,8173656,8173713","timestamp":"2024-04-17T11:49:08.000Z","antenna1":0,"antenna2":0,"antenna3":1,"antenna4":0,"total":"19"}
{"palletFk":201587,"missing":"21","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8174389,8174094,8174133,8173580,8174208,8174167,8174203,8174147,8174909,8174906,8175304,8175302,8174383,8174692,8174735,8174777,8174822,8173977,8174000,8173949,8174497","timestamp":"2024-04-17T12:02:20.000Z","antenna1":0,"antenna2":1,"antenna3":1,"antenna4":1,"total":"24"}
{"palletFk":201589,"missing":"11","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8175027,8174127,8173620,8174215,8173954,8173901,8173928,8174853,8174658,8174456,8174802","timestamp":"2024-04-17T12:09:50.000Z","antenna1":1,"antenna2":0,"antenna3":0,"antenna4":0,"total":"12"}
{"palletFk":201594,"missing":"19","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8175480,8175473,8175452,8175367,8175419,8175442,8175345,8175319,8175396,8175370,8175189,8175303,8175329,8175352,8175381,8175410,8175360,8175316,8175402","timestamp":"2024-04-17T12:34:31.000Z","antenna1":0,"antenna2":1,"antenna3":0,"antenna4":0,"total":"20"}
{"palletFk":201595,"missing":"1","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8174960","timestamp":"2024-04-17T12:35:13.000Z","antenna1":11,"antenna2":14,"antenna3":11,"antenna4":6,"total":"19"}
{"palletFk":201596,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T12:39:31.000Z","antenna1":14,"antenna2":16,"antenna3":7,"antenna4":10,"total":"19"}
{"palletFk":201597,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8174941","observationMissing":"","timestamp":"2024-04-17T12:46:07.000Z","antenna1":6,"antenna2":10,"antenna3":14,"antenna4":12,"total":"17"}
{"palletFk":201598,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8175052","observationMissing":"","timestamp":"2024-04-17T12:47:46.000Z","antenna1":15,"antenna2":16,"antenna3":9,"antenna4":12,"total":"19"}
{"palletFk":201599,"missing":"0","powerType":"VDT3","extra":"3","antennaReads":null,"observationExtra":"8175055,8174929,8175130","observationMissing":"","timestamp":"2024-04-17T13:01:27.000Z","antenna1":12,"antenna2":19,"antenna3":13,"antenna4":8,"total":"18"}
{"palletFk":201601,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T12:48:59.000Z","antenna1":15,"antenna2":17,"antenna3":8,"antenna4":9,"total":"19"}
{"palletFk":201602,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T12:52:19.000Z","antenna1":15,"antenna2":17,"antenna3":11,"antenna4":5,"total":"20"}
{"palletFk":201607,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8175687","observationMissing":"","timestamp":"2024-04-17T13:11:51.000Z","antenna1":16,"antenna2":14,"antenna3":4,"antenna4":10,"total":"17"}
{"palletFk":201609,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T13:16:12.000Z","antenna1":11,"antenna2":17,"antenna3":13,"antenna4":13,"total":"21"}
{"palletFk":201610,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T13:22:58.000Z","antenna1":11,"antenna2":13,"antenna3":6,"antenna4":13,"total":"17"}
{"palletFk":201613,"missing":"0","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"","timestamp":"2024-04-17T13:38:58.000Z","antenna1":16,"antenna2":17,"antenna3":16,"antenna4":7,"total":"21"}
{"palletFk":201615,"missing":"1","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8175775","timestamp":"2024-04-17T13:55:33.000Z","antenna1":14,"antenna2":19,"antenna3":16,"antenna4":13,"total":"22"}
{"palletFk":201644,"missing":"0","powerType":"VDT3","extra":"1","antennaReads":null,"observationExtra":"8175454","observationMissing":"","timestamp":"2024-04-17T15:05:42.000Z","antenna1":4,"antenna2":4,"antenna3":2,"antenna4":2,"total":"3"}
{"palletFk":201647,"missing":"21","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8176343,8176844,8177057,8176565,8177037,8177019,8177080,8177040,8177053,8176811,8176929,8176071,8176919,8176933,8176930,8176890,8176870,8176893,8176884,8176898,8177142","timestamp":"2024-04-17T15:12:40.000Z","antenna1":0,"antenna2":1,"antenna3":0,"antenna4":0,"total":"22"}
{"palletFk":201672,"missing":"21","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8177346,8177375,8177359,8177299,8177297,8177306,8177301,8177366,8177342,8177361,8177360,8177349,8177421,8177437,8177415,8177474,8177467,8177453,8177406,8177266,8177337","timestamp":"2024-04-17T16:14:34.000Z","antenna1":0,"antenna2":0,"antenna3":1,"antenna4":1,"total":"23"}
{"palletFk":201718,"missing":"17","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8178241,8178200,8178714,8178437,8178772,8178694,8178746,8178762,8178758,8177992,8178824,8177983,8178740,8178805,8178757,8178771,8177122","timestamp":"2024-04-17T17:00:43.000Z","antenna1":0,"antenna2":1,"antenna3":0,"antenna4":0,"total":"18"}
{"palletFk":201816,"missing":"16","powerType":"VDT3","extra":"0","antennaReads":null,"observationExtra":"","observationMissing":"8178427,8178056,8178042,8178754,8178902,8178257,8178892,8178895,8178836,8178848,8178195,8178213,8178312,8178334,8179302,8179329","timestamp":"2024-04-17T18:08:06.000Z","antenna1":1,"antenna2":2,"antenna3":0,"antenna4":0,"total":"19"}

View File

@ -12,8 +12,8 @@ export default async uniqueRead => {
console.log('reads: ', [...reads][0]); console.log('reads: ', [...reads][0]);
let [[palletFk]] = await conMaster.query( let [[palletFk]] = await conMaster.query(
`SELECT palletFk FROM expeditionScan WHERE expeditionFk = ?`, `SELECT palletFk FROM expeditionScan WHERE expeditionFk IN (?)`,
[[...reads][0]] [[...reads].join(',')]
); );
palletFk = palletFk?.palletFk; palletFk = palletFk?.palletFk;
console.log('palletFk: ', palletFk); console.log('palletFk: ', palletFk);