SimpleAttributeOperand QML Type
OPC UA SimpleAttributeOperand型。詳細...
Import Statement: | import QtOpcUa |
Since: | QtOpcUa 5.13 |
プロパティ
- browsePath : list<OpcUaNodeId>
- indexRange : string
- nodeAttribute : Constants.NodeAttribute
- typeId : string
詳細説明
SimpleAttributeOperandはOPC UA 1.05 part 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。オペランドは、型またはそのサブタイプの 1 つになります。デフォルト値は"ns=0;i=2041"
です。
import QtOpcUa as QtOpcUa QtOpcUa.SimpleAttributeOperand { ... typeId: "ns=0;i=2041" }
© 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.