PySide6.QtOpcUa.QOpcUaXValue¶
- class QOpcUaXValue¶
The OPC UA XVType. More…
Synopsis¶
Methods¶
def
__init__()
def
__eq__()
def
setValue()
def
setX()
def
value()
def
x()
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 1.05 part 8, 5.6.8. This type is used to position values of float precision on an axis with double precision.
- __init__()¶
Default constructs a XValue object with no parameters set.
- __init__(rhs)
- Parameters:
rhs –
QOpcUaXValue
Constructs an XValue from
rhs
.- __init__(x, value)
- Parameters:
x – float
value – float
Constructs an XValue with position
x
and valuevalue
.- __eq__(rhs)¶
- Parameters:
rhs –
QOpcUaXValue
- Return type:
bool
Returns
true
if this XValue has the same value asrhs
.- setValue(value)¶
- Parameters:
value – float
Sets the value for position x to
value
.See also
- setX(x)¶
- Parameters:
x – float
Sets the position of the value on the axis to
x
.See also
- value()¶
- Return type:
float
Returns the value for position x.
See also
- x()¶
- Return type:
float
Returns the position of the value on the axis.
See also