En esta página

ValueNode QML Type

Representa un nodo de valor de un servidor. Más...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.12
Inherits:

Node

Status: Deprecated since 6.9

Este tipo está obsoleto desde QtOpcUa 6.9. Desaconsejamos su uso en código nuevo.

Propiedades

Descripción detallada

import QtOpcUa as QtOpcUa

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

Se creará una suscripción en el servidor para realizar un seguimiento de los cambios de valor en el servidor.

Véase también NodeId, Connection, y Node.

Documentación de propiedades

serverTimestamp : Date [read-only]

Marca de tiempo del servidor del atributo value.

sourceTimestamp : Date [read-only]

Fecha y hora de origen del atributo value.

value : variant

Valor de este nodo. La lectura y escritura de esta propiedad accederá al nodo en el servidor.

valueType : variant

Tipo de este nodo. El valor inicial será QtOpcUa.Constants.Undefined y se obtendrá del servidor cuando se establezca la primera conexión. Cualquier valor se escribirá en el servidor como el 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.