The OPC UA XVType. 更多...
头: | #include <QOpcUaXValue> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
QOpcUaXValue () | |
QOpcUaXValue (double x , float value ) | |
QOpcUaXValue (const QOpcUaXValue & rhs ) | |
void | setValue (float value ) |
void | setX (double x ) |
float | value () const |
double | x () const |
QVariant | operator QVariant () const |
QOpcUaXValue & | operator= (const QOpcUaXValue & rhs ) |
bool | operator== (const QOpcUaXValue & rhs ) const |
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.
Default constructs a XValue object with no parameters set.
Constructs an XValue with position x and value value .
Constructs an XValue from rhs .
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 .
设置值从 rhs in this XValue.
返回
true
if this XValue has the same value as
rhs
.