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.