QOpcUaXValue#
The OPC UA XVType. More…
Synopsis#
Functions#
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 OPC UA XVType type defined in OPC-UA part 8, 5.6.8. This type is used to position values of float precision on an axis with double precision.
- class PySide6.QtOpcUa.QOpcUaXValue#
PySide6.QtOpcUa.QOpcUaXValue(arg__1)
PySide6.QtOpcUa.QOpcUaXValue(x, value)
- Parameters:
arg__1 –
PySide6.QtOpcUa.QOpcUaXValue
x –
double
value – float
Constructs an XValue from rhs
.
Constructs an XValue with position x
and value value
.
- PySide6.QtOpcUa.QOpcUaXValue.__eq__(rhs)#
- Parameters:
- Return type:
bool
Returns true
if this XValue has the same value as rhs
.
- PySide6.QtOpcUa.QOpcUaXValue.setValue(value)#
- Parameters:
value – float
Sets the value for position x to value
.
See also
- PySide6.QtOpcUa.QOpcUaXValue.setX(x)#
- Parameters:
x –
double
Sets the position of the value on the axis to x
.
See also
- PySide6.QtOpcUa.QOpcUaXValue.value()#
- Return type:
float
Returns the value for position x.
See also
- PySide6.QtOpcUa.QOpcUaXValue.x()#
- Return type:
double
Returns the position of the value on the axis.
See also