SimpleAttributeOperand QML Type
OPC UAのSimpleAttributeOperand型。詳細...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
この型は QtOpcUa 6.9 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
プロパティ
- browsePath : list<OpcUaNodeId>
- indexRange : string
- nodeAttribute : Constants.NodeAttribute
- typeId : string
詳細な説明
SimpleAttributeOperand は、OPC UA 1.05 第 4 部の 7.7.4.5 に規定されています。これは、ノード属性がオペランドとして必要とされる場合に使用されます。
たとえば、以下の単純属性オペランドは、基本イベントタイプの「Severity」フィールドの値を表しています。
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
identifier: "Severity"
ns: "http://opcfoundation.org/UA/"
}プロパティのドキュメント
browsePath : list<OpcUaNodeId>
その属性を保持しているノードへの参照パス。
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
browsePath: [
QtOpcUa.NodeId {
identifier: "Message"
ns: "http://opcfoundation.org/UA/"
}
...
]
}indexRange : string
属性の値の単一の値またはそのサブセットを識別するために使用されるインデックス範囲文字列。
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
indexRange: "0:2"
}nodeAttribute : Constants.NodeAttribute
ノード `browsePath ` が指している属性。デフォルト値は `Constants.NodeAttribute.Value` です。
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value
}typeId : string
型定義ノードのノードID。オペランドは、この型、またはそのサブタイプのいずれかになります。デフォルト値は"ns=0;i=2041" です。
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
typeId: "ns=0;i=2041"
}© 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.