class QOpcUaRange#

The OPC UA Range type. More

Synopsis#

Methods#

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 1.05 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.

__init__()#

Default constructs a range with no parameters set.

__init__(arg__1)
Parameters:

arg__1QOpcUaRange

Constructs a range from rhs.

__init__(low, high)
Parameters:
  • low – float

  • high – float

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

high()#
Return type:

float

Returns the high value of the range.

See also

setHigh()

low()#
Return type:

float

Returns the low value of the range.

See also

setLow()

__eq__(rhs)#
Parameters:

rhsQOpcUaRange

Return type:

bool

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

setHigh(high)#
Parameters:

high – float

Sets the high value of the range to high.

See also

high()

setLow(low)#
Parameters:

low – float

Sets the low value of the range to low.

See also

low()