PySide6.QtOpcUa.QOpcUaAttributeOperand¶
- class QOpcUaAttributeOperand¶
The OPC UA AttributeOperand type. More…
Synopsis¶
Methods¶
def
__init__()
def
alias()
def
attributeId()
def
browsePath()
def
browsePathRef()
def
indexRange()
def
nodeId()
def
__ne__()
def
__eq__()
def
setAlias()
def
setAttributeId()
def
setBrowsePath()
def
setIndexRange()
def
setNodeId()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
The AttributeOperand is defined in OPC UA 1.05 part 4, 7.7.4.4. It has the same purpose as
QOpcUaSimpleAttributeOperand
but has more configurable options.- __init__()¶
Default constructs an attribute operand with no parameters set.
- __init__(arg__1)
- Parameters:
arg__1 –
QOpcUaAttributeOperand
Constructs an attribute operand from
rhs
.- alias()¶
- Return type:
str
Returns the alias for this QAttributeOperand.
See also
- attributeId()¶
- Return type:
Returns the attribute id for an attribute of the node
browsePath
is pointing to.See also
- browsePath()¶
- Return type:
.list of QOpcUaRelativePathElement
Returns the browse path.
See also
- browsePathRef()¶
- Return type:
.list of QOpcUaRelativePathElement
Returns a reference to the browse path.
See also
- indexRange()¶
- Return type:
str
Returns the index range string.
See also
- nodeId()¶
- Return type:
str
Returns the node id of the type definition node.
See also
- __ne__(rhs)¶
- Parameters:
rhs –
QOpcUaAttributeOperand
- Return type:
bool
Returns
true
iflhs
has a different value thanrhs
.- __eq__(rhs)¶
- Parameters:
rhs –
QOpcUaAttributeOperand
- Return type:
bool
Returns
true
iflhs
has the same value asrhs
.- setAlias(alias)¶
- Parameters:
alias – str
Sets the alias to
alias
. This allows using this instance as operand for other operations in the filter.See also
- setAttributeId(attributeId)¶
- Parameters:
attributeId –
NodeAttribute
Sets the attribute id to
attributeId
.See also
- setBrowsePath(browsePath)¶
- Parameters:
browsePath – .list of QOpcUaRelativePathElement
Sets the relative path to a node starting from
nodeId()
tobrowsePath
.See also
- setIndexRange(indexRange)¶
- Parameters:
indexRange – str
Sets the index range string used to identify a single value or subset of the attribute’s value to
indexRange
.See also
- setNodeId(nodeId)¶
- Parameters:
nodeId – str
Sets the node id of the type definition node to
nodeId
.See also