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
ノード識別子の名前空間。識別子には、数値としてのインデックスまたは文字列としての名前を使用できます。整数に変換可能な文字列は、名前空間のインデックスとみなされます。
Signal ドキュメント
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.