NodeId QML Type
識別子でノードを指定する。詳細...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.12 |
| Status: | Deprecated since 6.9 |
この型はQtOpcUa 6.9以降非推奨です。新しいコードでは使用しないことを強くお勧めします。
プロパティ
- identifier : string
- ns : string
信号
物件詳細
import QtOpcUa as QtOpcUa QtOpcUa.NodeId { identifier: "s=Example.Node" ns: "Example Namespace" }
プロパティ・ドキュメンテーション
identifier : string
ノードの識別子。識別子は以下のいずれかの型で指定しなければならない。
| タイプ | 例 |
|---|---|
| 数値 | i=23 |
| 文字列 | s=MyStringIdentifier |
| GUID | g=08081e75-8e5e-319b-954f-f3a7613dc29b |
| 不透明(base64) | b=UXQgZnR3IQ== |
名前空間インデックスns=X;s=... を含めることは可能ですが、推奨されません。この場合、与えられた名前空間インデックスは内部的に識別子から取り除かれ、名前空間プロパティに設定されます。
ns : string
ノード識別子の名前空間。識別子は、数値としてのインデックスでも文字列としての名前でもかまいません。整数に変換できる文字列は、名前空間インデックスとみなされます。
シグナルのドキュメント
nodeChanged()
基礎となるノードが変更されたときに発行される。これは名前空間または識別子が変更されたときに発生します。
注: 対応するハンドラはonNodeChanged です。
© 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.