@bitpoolos/edge-bacnet 1.5.2 → 1.6.0
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/CHANGELOG.md +151 -1
- package/bacnet_client.js +202 -108
- package/bacnet_device.js +3 -1
- package/bacnet_gateway.html +100 -2
- package/bacnet_gateway.js +382 -250
- package/bacnet_inspector.html +43 -0
- package/bacnet_inspector.js +1564 -0
- package/bacnet_inspector_worker.js +535 -0
- package/bacnet_read.html +47 -50
- package/bacnet_read.js +0 -3
- package/common.js +201 -38
- package/inspector.html +460 -0
- package/package.json +6 -2
- package/resources/Logo_Simplified_Positive.svg +32 -0
- package/resources/downloadAsHtml.js +654 -0
- package/resources/icons/device-id-change-icon.svg +4 -0
- package/resources/icons/device-id-conflict-icon.svg +4 -0
- package/resources/icons/favicon.ico +0 -0
- package/resources/icons/points-error-icon.svg +4 -0
- package/resources/icons/points-missing-icon.svg +4 -0
- package/resources/icons/points-ok-icon.svg +4 -0
- package/resources/icons/points-unmapped-icon.svg +5 -0
- package/resources/icons/points-warning-icon.svg +4 -0
- package/resources/inspector.css +25312 -0
- package/resources/inspectorStyle.css +254 -0
- package/resources/inspectorStyles.css +478 -0
- package/resources/node-bacstack-ts/dist/lib/client.js +7 -3
- package/resources/primevue.min.js +1 -0
- package/resources/style.css +17 -1
- package/resources/vue3513.global.prod.js +9 -0
- package/ssrHtmlExporter.js +535 -0
- package/treeBuilder.js +3 -3
|
@@ -237,9 +237,13 @@ class Client extends events_1.EventEmitter {
|
|
|
237
237
|
if (!result) return debug('Received invalid deleteObject message');
|
|
238
238
|
this.emit('deleteObject', { address: address, invokeId: invokeId, request: result, srcAddress: srcAddress });
|
|
239
239
|
} else if (service === baEnum.ConfirmedServiceChoice.ACKNOWLEDGE_ALARM) {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
try {
|
|
241
|
+
result = baServices.alarmAcknowledge.decode(buffer, offset, length);
|
|
242
|
+
if (!result) return debug('Received invalid alarmAcknowledge message');
|
|
243
|
+
this.emit('alarmAcknowledge', { address: address, invokeId: invokeId, request: result, srcAddress: srcAddress });
|
|
244
|
+
} catch (e) {
|
|
245
|
+
//console.log("Error in alarmAcknowledge: ", e);
|
|
246
|
+
}
|
|
243
247
|
} else if (service === baEnum.ConfirmedServiceChoice.GET_ALARM_SUMMARY) {
|
|
244
248
|
this.emit('getAlarmSummary', { address: address, invokeId: invokeId });
|
|
245
249
|
} else if (service === baEnum.ConfirmedServiceChoice.GET_ENROLLMENT_SUMMARY) {
|