ValueNode QML Type

Stellt einen Werteknoten von einem Server dar. Mehr...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.12
Inherits:

Node

Eigenschaften

Detaillierte Beschreibung

import QtOpcUa as QtOpcUa

QtOpcUa.ValueNode {
    nodeId: QtOpcUa.NodeId {
        ns: "Test Namespace"
        identifier: "s=TestName"
    }
    connection: myConnection
}

Es wird ein Abonnement auf dem Server erstellt, um Wertänderungen auf dem Server zu verfolgen.

Siehe auch NodeId, Connection, und Node.

Eigenschaft Dokumentation

serverTimestamp : Date [read-only]

Server-Zeitstempel des Wertattributs.


sourceTimestamp : Date [read-only]

Quell-Zeitstempel des Wertattributs.


value : variant

Wert dieses Knotens. Das Lesen und Schreiben dieser Eigenschaft greift auf den Knoten auf dem Server zu.


valueType : variant

Typ dieses Knotens. Der anfängliche Wert ist QtOpcUa.Constants.Undefined und wird vom Server geholt, wenn die erste Verbindung hergestellt wird. Jeder Wert wird als der angegebene Typ auf den Server geschrieben.


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.