ValueNode QML Type
サーバーからの値ノードを表します。詳細...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.12 |
| Inherits: | |
| Status: | Deprecated since 6.9 |
この型は QtOpcUa 6.9 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
プロパティ
- serverTimestamp : Date
- sourceTimestamp : Date
- value : variant
- valueType : variant
詳細説明
import QtOpcUa as QtOpcUa
QtOpcUa.ValueNode {
nodeId: QtOpcUa.NodeId {
ns: "Test Namespace"
identifier: "s=TestName"
}
connection: myConnection
}サーバー上の値の変化を追跡するために、サーバー上にサブスクリプションが作成されます。
関連項目: NodeId 、Connection 、およびNode 。
プロパティのドキュメント
serverTimestamp : Date [read-only]
「value」属性のサーバータイムスタンプ。
sourceTimestamp : Date [read-only]
「value」属性のソースタイムスタンプ。
value : variant
このノードの値。このプロパティの読み取りおよび書き込みを行うと、サーバー上のノードにアクセスします。
valueType : variant
このノードの型。初期値はQtOpcUa.Constants.Undefined となり、最初の接続が確立された際にサーバーから取得されます。どのような値であっても、指定された型としてサーバーに書き込まれます。
© 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.