AttributeOperand QML Type
Il tipo AttributeOperand di OPC UA. Maggiori informazioni...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
Questo tipo è deprecato a partire da QtOpcUa 6.9. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- alias : string
- browsePath : list<OpcUaNodeId>
- indexRange : string
- nodeAttribute : Constants.NodeAttribute
- typeId : string
Descrizione dettagliata
L'AttributeOperand è definito nella specifica OPC UA 1.05, parte 4, sezione 7.7.4.4. Ha lo stesso scopo dell'SimpleAttributeOperand, ma offre un maggior numero di opzioni configurabili.
Documentazione delle proprietà
alias : string
Nome alias dell'operando. Ciò consente di utilizzare questa istanza come operando per altre operazioni nel filtro.
browsePath : list<OpcUaNodeId>
Percorso di navigazione verso il nodo che contiene l'attributo.
import QtOpcUa as QtOpcUa
QtOpcUa.AttributeOperand {
...
browsePath: [
QtOpcUa.NodeId {
identifier: "Message"
ns: "http://opcfoundation.org/UA/"
}
...
]
}indexRange : string
Stringa che definisce l'intervallo di indice utilizzato per identificare un singolo valore o un sottoinsieme dei valori dell'attributo.
import QtOpcUa as QtOpcUa
QtOpcUa.AttributeOperand {
...
indexRange: "0:2"
}nodeAttribute : Constants.NodeAttribute
Attributo del nodo a cui punta browsePath. Il valore predefinito è Constants.NodeAttribute.Value.
import QtOpcUa as QtOpcUa
QtOpcUa.AttributeOperand {
...
nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value
}typeId : string
ID del nodo della definizione di tipo. L'operando sarà di quel tipo o di uno dei suoi sottotipi.
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.