ValueNode QML Type
Stellt einen Werteknoten von einem Server dar. Mehr...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.12 |
| Inherits: | |
| Status: | Deprecated since 6.9 |
Dieser Typ ist seit QtOpcUa 6.9 veraltet. Wir raten dringend davon ab, ihn in neuem Code zu verwenden.
Eigenschaften
- serverTimestamp : Date
- sourceTimestamp : Date
- value : variant
- valueType : variant
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.
Dokumentation der Eigenschaft
serverTimestamp : Date [read-only]
Server-Zeitstempel des Attributs value.
sourceTimestamp : Date [read-only]
Quell-Zeitstempel des Attributs value.
value : variant
Wert dieses Knotens. Durch Lesen und Schreiben dieser Eigenschaft wird auf den Knoten auf dem Server zugegriffen.
valueType : variant
Typ dieses Knotens. Der Anfangswert lautet QtOpcUa.Constants.Undefined und wird beim ersten Verbindungsaufbau vom Server abgerufen. Jeder Wert wird als der angegebene Typ auf den Server geschrieben.
© 2026 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.