@ncd-io/node-red-enterprise-sensors 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/WirelessGateway.js +20 -20
- package/package.json +1 -1
package/lib/WirelessGateway.js
CHANGED
|
@@ -2542,10 +2542,10 @@ function sensor_types(parent){
|
|
|
2542
2542
|
z_peak_three_Hz: payload.slice(52, 54).reduce(msbLsb),
|
|
2543
2543
|
};
|
|
2544
2544
|
}
|
|
2545
|
-
else{
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
}
|
|
2545
|
+
// else{
|
|
2546
|
+
// parsed.data = {'error': 'Vibration mode error'}
|
|
2547
|
+
// return parsed;
|
|
2548
|
+
// }
|
|
2549
2549
|
},
|
|
2550
2550
|
'parse_fly': (frame) => {
|
|
2551
2551
|
let frame_data = {};
|
|
@@ -3183,10 +3183,10 @@ function sensor_types(parent){
|
|
|
3183
3183
|
z2_peak_three_Hz: payload.slice(97, 99).reduce(msbLsb)
|
|
3184
3184
|
};
|
|
3185
3185
|
}
|
|
3186
|
-
else{
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
}
|
|
3186
|
+
// else{
|
|
3187
|
+
// parsed.data = {'error': 'Vibration mode error'}
|
|
3188
|
+
// return parsed;
|
|
3189
|
+
// }
|
|
3190
3190
|
},
|
|
3191
3191
|
'parse_fly': (frame) => {
|
|
3192
3192
|
let frame_data = {};
|
|
@@ -3850,10 +3850,10 @@ function sensor_types(parent){
|
|
|
3850
3850
|
z_peak_three_Hz: payload.slice(60, 62).reduce(msbLsb),
|
|
3851
3851
|
};
|
|
3852
3852
|
}
|
|
3853
|
-
else{
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
}
|
|
3853
|
+
// else{
|
|
3854
|
+
// parsed.data = {'error': 'Vibration mode error'}
|
|
3855
|
+
// return parsed;
|
|
3856
|
+
// }
|
|
3857
3857
|
},
|
|
3858
3858
|
'parse_fly': (frame) => {
|
|
3859
3859
|
let frame_data = {};
|
|
@@ -4407,10 +4407,10 @@ function sensor_types(parent){
|
|
|
4407
4407
|
z_peak_three_Hz: payload.slice(52, 54).reduce(msbLsb),
|
|
4408
4408
|
};
|
|
4409
4409
|
}
|
|
4410
|
-
else{
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
}
|
|
4410
|
+
// else{
|
|
4411
|
+
// parsed.data = {'error': 'Vibration mode error'}
|
|
4412
|
+
// return parsed;
|
|
4413
|
+
// }
|
|
4414
4414
|
},
|
|
4415
4415
|
'parse_fly': (frame) => {
|
|
4416
4416
|
let frame_data = {};
|
|
@@ -5232,10 +5232,10 @@ function sensor_types(parent){
|
|
|
5232
5232
|
z_peak_three_Hz: payload.slice(56, 58).reduce(msbLsb),
|
|
5233
5233
|
};
|
|
5234
5234
|
}
|
|
5235
|
-
else{
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
}
|
|
5235
|
+
// else{
|
|
5236
|
+
// parsed.data = {'error': 'Vibration mode error'}
|
|
5237
|
+
// return parsed;
|
|
5238
|
+
// }
|
|
5239
5239
|
},
|
|
5240
5240
|
'parse_fly': (frame) => {
|
|
5241
5241
|
let frame_data = {};
|