ValueNode QML Type
Rappresenta un nodo di valore proveniente da un server. Maggiori informazioni...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.12 |
| Inherits: | |
| Status: | Deprecated since 6.9 |
Questo tipo è deprecato a partire da QtOpcUa 6.9. Si sconsiglia vivamente di utilizzarlo nel codice nuovo.
Proprietà
- serverTimestamp : Date
- sourceTimestamp : Date
- value : variant
- valueType : variant
Descrizione dettagliata
import QtOpcUa as QtOpcUa
QtOpcUa.ValueNode {
nodeId: QtOpcUa.NodeId {
ns: "Test Namespace"
identifier: "s=TestName"
}
connection: myConnection
}Verrà creata una sottoscrizione sul server per monitorare le variazioni di valore sul server.
Vedi anche NodeId, Connection e Node.
Documentazione sulle proprietà
serverTimestamp : Date [read-only]
Timestamp del server relativo all'attributo "value".
sourceTimestamp : Date [read-only]
Timestamp di origine dell'attributo "value".
value : variant
Valore di questo nodo. La lettura e la scrittura di questa proprietà comportano l'accesso al nodo sul server.
valueType : variant
Tipo di questo nodo. Il valore iniziale sarà “ QtOpcUa.Constants.Undefined ” e verrà recuperato dal server al momento della prima connessione. Qualsiasi valore verrà scritto sul server come tipo specificato.
© 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.