ValueNode QML Type
Representa um nó de valor proveniente de um servidor. Mais...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.12 |
| Inherits: | |
| Status: | Deprecated since 6.9 |
Este tipo está obsoleto desde o QtOpcUa 6.9. Recomendamos enfaticamente que não seja utilizado em código novo.
Propriedades
- serverTimestamp : Date
- sourceTimestamp : Date
- value : variant
- valueType : variant
Descrição detalhada
import QtOpcUa as QtOpcUa
QtOpcUa.ValueNode {
nodeId: QtOpcUa.NodeId {
ns: "Test Namespace"
identifier: "s=TestName"
}
connection: myConnection
}Será criada uma assinatura no servidor para rastrear alterações de valores no servidor.
Veja também NodeId, Connection e Node.
Documentação da propriedade
serverTimestamp : Date [read-only]
Carimbo de data e hora do servidor correspondente ao atributo “value”.
sourceTimestamp : Date [read-only]
Carimbo de data e hora de origem do atributo “value”.
value : variant
Valor deste nó. A leitura e a gravação dessa propriedade acessarão o nó no servidor.
valueType : variant
Tipo deste nó. O valor inicial será ` QtOpcUa.Constants.Undefined ` e será obtido do servidor quando a primeira conexão for estabelecida. Qualquer valor será gravado no servidor como o tipo especificado.
© 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.