QOpcUaRange#

The OPC UA Range type. 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 Range type defined in OPC-UA part 8, 5.6.2. It consists of two double values which mark minimum and maximum of the range. Ranges are mostly used to store information about acceptable values for a node.

class PySide6.QtOpcUa.QOpcUaRange#

PySide6.QtOpcUa.QOpcUaRange(arg__1)

PySide6.QtOpcUa.QOpcUaRange(low, high)

Parameters:

Default constructs a range with no parameters set.

Constructs a range from rhs.

Constructs a range with low value low and high value high.

PySide6.QtOpcUa.QOpcUaRange.high()#
Return type:

float

Returns the high value of the range.

See also

setHigh()

PySide6.QtOpcUa.QOpcUaRange.low()#
Return type:

float

Returns the low value of the range.

See also

setLow()

PySide6.QtOpcUa.QOpcUaRange.__eq__(rhs)#
Parameters:

rhsPySide6.QtOpcUa.QOpcUaRange

Return type:

bool

Returns true if this range has the same value as rhs.

PySide6.QtOpcUa.QOpcUaRange.setHigh(high)#
Parameters:

high – float

Sets the high value of the range to high.

See also

high()

PySide6.QtOpcUa.QOpcUaRange.setLow(low)#
Parameters:

low – float

Sets the low value of the range to low.

See also

low()