QOpcUaEUInformation#

The OPC UA EURange 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 EUInformation type defined in OPC-UA 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.

class PySide6.QtOpcUa.QOpcUaEUInformation#

PySide6.QtOpcUa.QOpcUaEUInformation(arg__1)

PySide6.QtOpcUa.QOpcUaEUInformation(namespaceUri, unitId, displayName, description)

Parameters:

Default constructs an EU information with no parameters set.

Constructs a EUinformation from rhs.

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

PySide6.QtOpcUa.QOpcUaEUInformation.description()#
Return type:

PySide6.QtOpcUa.QOpcUaLocalizedText

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

See also

setDescription()

PySide6.QtOpcUa.QOpcUaEUInformation.displayName()#
Return type:

PySide6.QtOpcUa.QOpcUaLocalizedText

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

See also

setDisplayName()

PySide6.QtOpcUa.QOpcUaEUInformation.namespaceUri()#
Return type:

str

Returns the namespace URI of the unit.

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

rhsPySide6.QtOpcUa.QOpcUaEUInformation

Return type:

bool

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

PySide6.QtOpcUa.QOpcUaEUInformation.setDescription(description)#
Parameters:

descriptionPySide6.QtOpcUa.QOpcUaLocalizedText

Sets the description if the unit to description.

See also

description()

PySide6.QtOpcUa.QOpcUaEUInformation.setDisplayName(displayName)#
Parameters:

displayNamePySide6.QtOpcUa.QOpcUaLocalizedText

Sets the display name of the unit to displayName.

See also

displayName()

PySide6.QtOpcUa.QOpcUaEUInformation.setNamespaceUri(namespaceUri)#
Parameters:

namespaceUri – str

Sets the namespace URI of the unit to namespaceUri.

See also

namespaceUri()

PySide6.QtOpcUa.QOpcUaEUInformation.setUnitId(unitId)#
Parameters:

unitId – int

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

See also

unitId()

PySide6.QtOpcUa.QOpcUaEUInformation.unitId()#
Return type:

int

Returns the machine-readable identifier for the unit.

See also

setUnitId()