ReadResult QML Type
Contiene i dati dei risultati dopo la lettura dal server. Altro...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
Questo tipo è deprecato a partire da QtOpcUa 6.9. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- attribute : Constants.NodeAttribute
- indexRange : string
- namespaceName : string
- nodeId : string
- serverTimestamp : datetime
- sourceTimestamp : datetime
- status : Status
- value : variant
Descrizione dettagliata
Questo tipo viene utilizzato per trasmettere i dati letti dal server tramite la funzione Connection::readNodeAttributes.
Documentazione delle proprietà
attribute : Constants.NodeAttribute [read-only]
L'attributo del nodo dei dati che sono stati letti.
indexRange : string [read-only]
L'intervallo di indice dei dati che sono stati letti.
namespaceName : string [read-only]
Il nome dello spazio dei nomi del nodo che è stato letto.
nodeId : string [read-only]
L'ID del nodo che è stato letto.
serverTimestamp : datetime [read-only]
Il timestamp del server relativo ai dati letti.
sourceTimestamp : datetime [read-only]
Il timestamp di origine dei dati che sono stati letti.
status : Status [read-only]
Stato dei risultati di questo ReadResult. Prima di utilizzare qualsiasi valore di questo ReadResult, è necessario verificare lo stato su Status.isGood, per assicurarsi che il server abbia fornito dati validi.
value : variant [read-only]
Dati effettivi di cui è stata richiesta la lettura.
© 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.