@bitpoolos/edge-bacnet 1.5.3 → 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 +143 -10
- package/bacnet_client.js +123 -107
- package/bacnet_gateway.html +22 -6
- package/bacnet_gateway.js +346 -250
- package/bacnet_inspector.html +43 -0
- package/bacnet_inspector.js +1564 -0
- package/bacnet_inspector_worker.js +535 -0
- package/bacnet_read.html +27 -27
- 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/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
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<script type="text/javascript">
|
|
2
|
+
RED.nodes.registerType("Bacnet-Inspector", {
|
|
3
|
+
category: "Bitpool BACnet",
|
|
4
|
+
siteName: "",
|
|
5
|
+
color: "#00aeef",
|
|
6
|
+
defaults: {
|
|
7
|
+
name: { value: "" },
|
|
8
|
+
siteName: { value: "" },
|
|
9
|
+
totalUniqueReadCount: { value: 0 },
|
|
10
|
+
},
|
|
11
|
+
inputs: 1,
|
|
12
|
+
outputs: 1,
|
|
13
|
+
icon: "debug.png",
|
|
14
|
+
label: function () {
|
|
15
|
+
return this.name || "Bacnet-Inspector";
|
|
16
|
+
},
|
|
17
|
+
oneditprepare: function () {
|
|
18
|
+
let node = this;
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
function openInspectorWebpage() {
|
|
23
|
+
window.open("/inspector", "_blank");
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<script type="text/html" data-template-name="Bacnet-Inspector">
|
|
29
|
+
<div class="form-row">
|
|
30
|
+
<label for="node-input-name"><i class="icon-tag"></i><span data-i18n="bitpool-bacnet.label.name"></span> Name</label>
|
|
31
|
+
<input type="text" id="node-input-name" placeholder="Name" />
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="form-row">
|
|
35
|
+
<label for="node-input-siteName"><i class="icon-tag"></i><span data-i18n="bitpool-bacnet.label.name"></span> Site Name</label>
|
|
36
|
+
<input type="text" id="node-input-siteName" placeholder="Name" />
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<label class="openInspectorLink" for="open-inspector" onclick="openInspectorWebpage()" style="margin-top: 30px;">
|
|
40
|
+
<i class="pi pi-external-link" id="open-inspector"></i>
|
|
41
|
+
<a id="open-inspector-text" style="padding-left: 10px;">Open Inspector Webpage</a>
|
|
42
|
+
</label>
|
|
43
|
+
</script>
|