AttributeOperand QML Type
Le type d'attribut OPC UA AttributeOperand. Plus...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
Ce type est obsolète depuis QtOpcUa 6.9. Il est fortement déconseillé de l'utiliser dans un nouveau code.
Propriétés
- alias : string
- browsePath : list<OpcUaNodeId>
- indexRange : string
- nodeAttribute : Constants.NodeAttribute
- typeId : string
Description détaillée
L'AttributeOperand est défini dans OPC UA 1.05 partie 4, 7.7.4.4. Elle a le même objectif que SimpleAttributeOperand mais dispose de plus d'options configurables.
Documentation de la propriété
alias : string
Nom d'alias pour l'opérande. Cela permet d'utiliser cette instance comme opérande pour d'autres opérations dans le filtre.
browsePath : list<OpcUaNodeId>
Chemin d'accès au nœud contenant l'attribut.
import QtOpcUa as QtOpcUa QtOpcUa.AttributeOperand { ... browsePath: [ QtOpcUa.NodeId { identifier: "Message" ns: "http://opcfoundation.org/UA/" } ... ] }
indexRange : string
Chaîne d'index utilisée pour identifier une valeur unique ou un sous-ensemble de la valeur de l'attribut.
import QtOpcUa as QtOpcUa QtOpcUa.AttributeOperand { ... indexRange: "0:2" }
nodeAttribute : Constants.NodeAttribute
Attribut du nœud vers lequel browsePath pointe. La valeur par défaut est Constants.NodeAttribute.Value.
import QtOpcUa as QtOpcUa QtOpcUa.AttributeOperand { ... nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value }
typeId : string
Identifiant du nœud de définition du type. L'opérande sera du type ou de l'un de ses sous-types.
import QtOpcUa as QtOpcUa QtOpcUa.AttributeOperand { ... 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.