NodeId QML Type
識別子でノードを指定する。詳細...
Import Statement: | import QtOpcUa |
Since: | QtOpcUa 5.12 |
プロパティ
- 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=...
を含めることは可能ですが、推奨されません。この場合、指定された名前空間インデックスが内部的に識別子から取り除かれ、namespace プロパティに設定されます。
ns : string |
ノード識別子の名前空間。識別子には、インデックスを数値で指定することも、名前を文字列で指定することもできます。整数に変換できる文字列は、名前空間インデックスとみなされます。
シグナル・ドキュメント
nodeChanged() |
基礎となるノードが変更されたときに発行されます。これは、名前空間または識別子が変更されたときに発生します。
注釈 対応するハンドラはonNodeChanged
。
© 2025 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.