aboutsummaryrefslogtreecommitdiffstats
path: root/demo/NodePage.qml
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-24 16:51:15 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-24 16:51:15 +0100
commit75d77c39924629eaebf6b721a541407e19ced762 (patch)
tree27cd8050e0296bf61dc3a007e12c49452cc6cf2b /demo/NodePage.qml
parent0a3a5c241e0de6587f0c19fd3ef73024fa1d4b52 (diff)
downloadBobinkQtOpcUa-75d77c39924629eaebf6b721a541407e19ced762.tar.gz
BobinkQtOpcUa-75d77c39924629eaebf6b721a541407e19ced762.zip
Add ValueRank and ArrayDimensions to OpcUaNodeInfo
Read both attributes at node setup alongside the existing metadata. ValueRank is mapped to human-readable names (Scalar, OneDimension, etc.) and ArrayDimensions is formatted as a comma-separated size list. Both are shown in the demo tooltip.
Diffstat (limited to 'demo/NodePage.qml')
-rw-r--r--demo/NodePage.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/demo/NodePage.qml b/demo/NodePage.qml
index 9b23502..e089f0e 100644
--- a/demo/NodePage.qml
+++ b/demo/NodePage.qml
@@ -307,6 +307,8 @@ Page {
+ "\nDescription: " + (node.info.description || "—")
+ "\nNode Class: " + (node.info.nodeClass || "—")
+ "\nData Type: " + (node.info.dataType || "—")
+ + "\nValue Rank: " + (node.info.valueRank || "—")
+ + "\nArray Dimensions: " + (node.info.arrayDimensions || "—")
+ "\nAccess Level: " + node.info.accessLevel
+ "\nStatus: " + (node.info.status || "—")
+ "\nSource Time: " + (node.info.sourceTimestamp.toLocaleString() || "—")