QOpcUaArgument#
The OPC UA Argument type. More…
Synopsis#
Functions#
def
arrayDimensions
()def
arrayDimensionsRef
()def
dataTypeId
()def
description
()def
name
()def
__eq__
(other)def
setArrayDimensions
(arrayDimensions)def
setDataTypeId
(dataTypeId)def
setDescription
(description)def
setName
(name)def
setValueRank
(valueRank)def
valueRank
()
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#
This is the Qt OPC UA representation for the Argument type defined in OPC-UA part 3, 8.6.
The Argument type is mainly used for the values of the InputArguments and OutputArguments properties which describe the parameters and return values of method nodes.
- class PySide6.QtOpcUa.QOpcUaArgument#
PySide6.QtOpcUa.QOpcUaArgument(rhs)
PySide6.QtOpcUa.QOpcUaArgument(name, dataTypeId, valueRank, arrayDimensions, description)
- Parameters:
arrayDimensions – .list of quint32
name – str
dataTypeId – str
valueRank – int
description –
PySide6.QtOpcUa.QOpcUaLocalizedText
Default constructs an argument with no parameters set.
Constructs an argument with name name
, data type id dataTypeId
, value rank valueRank
, array dimensions arrayDimensions
and description description
.
- PySide6.QtOpcUa.QOpcUaArgument.arrayDimensions()#
- Return type:
.list of quint32
Returns the array dimensions of the argument.
The array dimensions describe the length of each array dimension.
See also
- PySide6.QtOpcUa.QOpcUaArgument.arrayDimensionsRef()#
- Return type:
.list of quint32
Returns a reference to the array dimensions of the argument.
- PySide6.QtOpcUa.QOpcUaArgument.dataTypeId()#
- Return type:
str
Returns the data type node id of the argument.
See also
- PySide6.QtOpcUa.QOpcUaArgument.description()#
- Return type:
Returns the description of the argument.
See also
- PySide6.QtOpcUa.QOpcUaArgument.name()#
- Return type:
str
Returns the name of the argument.
See also
- PySide6.QtOpcUa.QOpcUaArgument.__eq__(other)#
- Parameters:
other –
PySide6.QtOpcUa.QOpcUaArgument
- Return type:
bool
Returns true if this argument has the same value as other
.
- PySide6.QtOpcUa.QOpcUaArgument.setArrayDimensions(arrayDimensions)#
- Parameters:
arrayDimensions – .list of quint32
Sets the array dimensions of the argument to arrayDimensions
.
See also
- PySide6.QtOpcUa.QOpcUaArgument.setDataTypeId(dataTypeId)#
- Parameters:
dataTypeId – str
Sets the data type node id of the argument to dataTypeId
.
See also
- PySide6.QtOpcUa.QOpcUaArgument.setDescription(description)#
- Parameters:
description –
PySide6.QtOpcUa.QOpcUaLocalizedText
Sets the description of the argument to description
.
See also
- PySide6.QtOpcUa.QOpcUaArgument.setName(name)#
- Parameters:
name – str
Sets the name of the argument to name
.
See also
- PySide6.QtOpcUa.QOpcUaArgument.setValueRank(valueRank)#
- Parameters:
valueRank – int
Sets the value rank of the argument to valueRank
.
See also
- PySide6.QtOpcUa.QOpcUaArgument.valueRank()#
- Return type:
int
Returns the value rank of the argument. The value rank describes the structure of the value.
ValueRank
Meaning
-3
Scalar or one dimensional array
-2
Scalar or array with any number of dimensions
-1
Not an array
0
Array with one or more dimensions
1
One dimensional array
>1
Array with n dimensions
See also