The OPC UA XVType. 更多...
头: | #include <QOpcUaXValue> |
qmake: | QT += opcua |
QOpcUaXValue (double x , float value ) | |
QOpcUaXValue (const QOpcUaXValue & rhs ) | |
QOpcUaXValue & | operator= (const QOpcUaXValue & rhs ) |
void | setValue (float value ) |
void | setX (double x ) |
float | value () const |
double | x () const |
QVariant | operator QVariant () const |
bool | operator== (const QOpcUaXValue & rhs ) const |
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.
Constructs an XValue with position x and value value .
Constructs an XValue from rhs .
设置值从 rhs in this XValue.
Sets the value for position x to value .
另请参阅 value ().
Sets the position of the value on the axis to x .
另请参阅 x ().
Returns the value for position x.
另请参阅 setValue ().
Returns the position of the value on the axis.
另请参阅 setX ().
Converts this XValue to QVariant .
返回
true
if this XValue has the same value as
rhs
.