fleetmap-reports 1.0.564 → 1.0.566
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/package.json +1 -1
- package/src/events-report.js +1 -0
- package/src/location-report.js +1 -0
package/package.json
CHANGED
package/src/events-report.js
CHANGED
|
@@ -270,6 +270,7 @@ function deviceName (device) {
|
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
function getAlertInfo (drivers, alert, device, translations) {
|
|
273
|
+
console.log('getAlertInfo', drivers, alert, device, translations)
|
|
273
274
|
if (alert.type === 'alarm' && alert.position) {
|
|
274
275
|
getDigitalPortValue(alert.position, 1, translations, device.attributes)
|
|
275
276
|
}
|
package/src/location-report.js
CHANGED
|
@@ -314,6 +314,7 @@ function getDigitalPort2Label (row, translations) {
|
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
function getDigitalPortValue (row, index, translations, dAttributes) {
|
|
317
|
+
console.log('getDigitalPortValue', row, index, translations, dAttributes)
|
|
317
318
|
switch (index) {
|
|
318
319
|
case 1:
|
|
319
320
|
if (row.attributes && row.attributes.door1 !== undefined) {
|