SimpleAttributeOperand QML Type
Le type SimpleAttributeOperand d'OPC UA. 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
- browsePath : list<OpcUaNodeId>
- indexRange : string
- nodeAttribute : Constants.NodeAttribute
- typeId : string
Description détaillée
L'opérande SimpleAttributeOperand est spécifié dans OPC UA 1.05 partie 4, 7.7.4.5. Il est utilisé lorsqu'un attribut de nœud est requis comme opérande.
Par exemple, l'opérande d'attribut simple suivant représente la valeur du champ "Severity" du type d'événement de base :
import QtOpcUa as QtOpcUa QtOpcUa.SimpleAttributeOperand { identifier: "Severity" ns: "http://opcfoundation.org/UA/" }
Propriété Documentation
browsePath : list<OpcUaNodeId>
Chemin d'accès au nœud contenant l'attribut.
import QtOpcUa as QtOpcUa QtOpcUa.SimpleAttributeOperand { ... 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.SimpleAttributeOperand { ... 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.SimpleAttributeOperand { ... nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value }
typeId : string
Identifiant du nœud de définition du type. L'opérande sera le type ou l'un de ses sous-types. La valeur par défaut est "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.