SimpleAttributeOperand QML Type

The OPC UA SimpleAttributeOperand type. More...

Import Statement: import QtOpcUa .
Since: QtOpcUa 5.13

Properties

Detailed Description

The SimpleAttributeOperand is specified in OPC-UA part 4, 7.4.4.5. It is used when a node attribute is required as operand.

For example, the following simple attribute operand represents the value of the "Severity" field of the base event type:

import QtOpcUa 5.13 as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    identifier: "Severity"
    ns: "http://opcfoundation.org/UA/"
}

Property Documentation

browsePath : list<OpcUaNodeId>

Browse path to the node holding the attribute.


indexRange : string

Index range string used to identify a single value or subset of the attribute's value.

import QtOpcUa 5.13 as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    ...
    indexRange: "0:2"
}

nodeAttribute : Constants.NodeAttribute

Attribute of the node browsePath is pointing to. The default value is Constants.NodeAttribute.Value.

import QtOpcUa 5.13 as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    ...
    nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value
}

typeId : string

Node id of the type definition node. The operand will be of the type or one of its subtypes. The default value is "ns=0;i=2041".

import QtOpcUa 5.13 as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    ...
    typeId: "ns=0;i=2041"
}

© 2024 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.