class QOpcUaEUInformation#

The OPC UA EURange 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 EUInformation type defined in OPC UA 1.05 part 8, 5.6.3. EUInformation values contain information about units and are mostly used as property of a node with a numeric value attribute. The information can e. g. be used to add text and tooltips to GUI elements.

__init__()#

Default constructs an EU information with no parameters set.

__init__(arg__1)
Parameters:

arg__1QOpcUaEUInformation

Constructs a EUinformation from rhs.

__init__(namespaceUri, unitId, displayName, description)
Parameters:

Constructs a EUinformation with namespace URI namespaceUri, unit id unitId, display name displayName and description description.

description()#
Return type:

QOpcUaLocalizedText

Returns the description of the unit, for example degree Celsius.

See also

setDescription()

displayName()#
Return type:

QOpcUaLocalizedText

Returns the display name of the unit, for example °C.

See also

setDisplayName()

namespaceUri()#
Return type:

str

Returns the namespace URI of the unit.

__eq__(rhs)#
Parameters:

rhsQOpcUaEUInformation

Return type:

bool

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

setDescription(description)#
Parameters:

descriptionQOpcUaLocalizedText

Sets the description if the unit to description.

See also

description()

setDisplayName(displayName)#
Parameters:

displayNameQOpcUaLocalizedText

Sets the display name of the unit to displayName.

See also

displayName()

setNamespaceUri(namespaceUri)#
Parameters:

namespaceUri – str

Sets the namespace URI of the unit to namespaceUri.

See also

namespaceUri()

setUnitId(unitId)#
Parameters:

unitId – int

Sets the machine-readable identifier for the unit to unitId.

See also

unitId()

unitId()#
Return type:

int

Returns the machine-readable identifier for the unit.

See also

setUnitId()