ValueNode QML Type

Represents a value node from a server. 更多...

import 語句: import QtOpcUa
Since: QtOpcUa 5.12
繼承:

Node

狀態: Deprecated since 6.9

This type is deprecated since QtOpcUa 6.9. We strongly advise against using it in new code.

特性

詳細描述

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

A subscription will be created on the server in order to track value changes on the server.

另請參閱 NodeId , Connection ,和 Node .

特性文檔編製

serverTimestamp : Date [read-only]

Server timestamp of the value attribute.

sourceTimestamp : Date [read-only]

Source timestamp of the value attribute.

value : variant

Value of this node. Reading and writing this property will access the node on the server.

valueType : variant

Type type of this node. The initial value will be QtOpcUa.Constants.Undefined and be fetched from the server when the first connection is established. Any value will be written to the server as the specified type.