diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-20 12:59:07 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-20 13:06:24 +0100 |
| commit | 47227acd25c59a1d4b2961c0e1b1eb879e68adec (patch) | |
| tree | b814869a40def023ebb5d0f35931f848c384f122 /demo/Main.qml | |
| parent | 263a055f9b9460e4da747c7e56372e963f72fe68 (diff) | |
| download | BobinkQtOpcUa-47227acd25c59a1d4b2961c0e1b1eb879e68adec.tar.gz BobinkQtOpcUa-47227acd25c59a1d4b2961c0e1b1eb879e68adec.zip | |
Add write support with automatic type coercion to OpcUaMonitoredNode
writeValue() Q_INVOKABLE coerces QML JS types to the exact C++ type
expected by the OPC UA node (auto-detected from DataType attribute via
opcUaDataTypeToQOpcUaType). Handles all scalar types, booleans, and
comma-separated array input. Adds writable property derived from
AccessLevel bits. Demo shows inline TextField + Write button for
writable nodes, "(READ-ONLY)" for others.
Diffstat (limited to 'demo/Main.qml')
0 files changed, 0 insertions, 0 deletions
