PySide6.QtOpcUa.QOpcUaDiagnosticInfo¶
- class QOpcUaDiagnosticInfo¶
- The - QOpcUaDiagnosticInfoclass models the OPC UA built-in type DiagnosticInfo. More…- Added in version 6.7. - Synopsis¶- Methods¶- def - __init__()
- def - additionalInfo()
- def - hasLocale()
- def - hasSymbolicId()
- def - locale()
- def - localizedText()
- def - namespaceUri()
- def - __ne__()
- def - __eq__()
- def - setHasLocale()
- def - setLocale()
- def - setSymbolicId()
- def - swap()
- def - symbolicId()
 - 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¶- The DiagnosticInfo type is used to convey diagnostics for some operations on the server. The qint32 type members refer to an index in the stringTable field of the OPC UA response header which is currently not supported by Qt OPC UA. - __init__()¶
 - Constructs a diagnostic info. - __init__(other)
- Parameters:
- other – - QOpcUaDiagnosticInfo
 
 - Constructs a diagnostic info from - other.- additionalInfo()¶
- Return type:
- str 
 
 - Returns the additional information of this diagnostic info. - See also - hasAdditionalInfo()¶
- Return type:
- bool 
 
 - Returns - trueif this diagnostic info has additional information.- See also - hasInnerDiagnosticInfo()¶
- Return type:
- bool 
 
 - Returns - trueif this diagnostic info has an inner diagnostic info.- See also - hasInnerStatusCode()¶
- Return type:
- bool 
 
 - Returns - trueif this diagnostic info has an inner status code.- See also - hasLocale()¶
- Return type:
- bool 
 
 - Returns - trueif this diagnostic info has a locale.- See also - hasLocalizedText()¶
- Return type:
- bool 
 
 - Returns - trueif this diagnostic info has a localized text.- See also - hasNamespaceUri()¶
- Return type:
- bool 
 
 - Returns - trueif this diagnostic info has a namespace URI.- See also - hasSymbolicId()¶
- Return type:
- bool 
 
 - Returns - trueif this diagnostic info has a symbolic id.- See also - innerDiagnosticInfo()¶
- Return type:
 
 - Returns the inner diagnostic info of this diagnostic info. - See also - innerDiagnosticInfoRef()¶
- Return type:
 
 - Returns a reference to the inner diagnostic info of this diagnostic info. - innerStatusCode()¶
- Return type:
 
 - Returns the inner status code of this diagnostic info. - See also - locale()¶
- Return type:
- int 
 
 - Returns the locale of this diagnostic info. - See also - localizedText()¶
- Return type:
- int 
 
 - Returns the localized text of this diagnostic info. - See also - namespaceUri()¶
- Return type:
- int 
 
 - Returns the namespace URI of this diagnostic info. - See also - __ne__(rhs)¶
- Parameters:
- rhs – - QOpcUaDiagnosticInfo
- Return type:
- bool 
 
 - Returns - trueif- lhsis not equal to- rhs.- __eq__(rhs)¶
- Parameters:
- rhs – - QOpcUaDiagnosticInfo
- Return type:
- bool 
 
 - Returns - trueif- lhsis equal to- rhs.- setAdditionalInfo(newAdditionalInfo)¶
- Parameters:
- newAdditionalInfo – str 
 
 - Sets the additional information of this diagnostic info to - newAdditionalInfo.- See also - setHasAdditionalInfo(newHasAdditionalInfo)¶
- Parameters:
- newHasAdditionalInfo – bool 
 
 - Sets the information whether this diagnostic info has additional information to - newHasAdditionalInfo.- See also - setHasInnerDiagnosticInfo(newHasInnerDiagnosticInfo)¶
- Parameters:
- newHasInnerDiagnosticInfo – bool 
 
 - Sets the information whether this diagnostic info has an inner diagnostic info to - newHasInnerDiagnosticInfo.- See also - setHasInnerStatusCode(newHasInnerStatusCode)¶
- Parameters:
- newHasInnerStatusCode – bool 
 
 - Sets the information whether this diagnostic info has an inner status code to - newHasInnerStatusCode.- See also - setHasLocale(newHasLocale)¶
- Parameters:
- newHasLocale – bool 
 
 - Sets the information whether this diagnostic info has a locale to - newHasLocale.- See also - setHasLocalizedText(newHasLocalizedText)¶
- Parameters:
- newHasLocalizedText – bool 
 
 - Sets the information whether this diagnostic info has a localized text to - newHasLocalizedText.- See also - setHasNamespaceUri(newHasNamespaceUri)¶
- Parameters:
- newHasNamespaceUri – bool 
 
 - Sets the information whether this diagnostic info has a namespace URI to - newHasNamespaceUri.- See also - setHasSymbolicId(newHasSymbolicId)¶
- Parameters:
- newHasSymbolicId – bool 
 
 - Sets the information whether this diagnostic info has a symbolic id to - newHasSymbolicId.- See also - setInnerDiagnosticInfo(newInnerDiagnosticInfo)¶
- Parameters:
- newInnerDiagnosticInfo – - QOpcUaDiagnosticInfo
 
 - Sets the inner diagnostic info of this diagnostic info to - newInnerDiagnosticInfo.- See also - setInnerStatusCode(newInnerStatusCode)¶
- Parameters:
- newInnerStatusCode – - UaStatusCode
 
 - Sets the inner status code of this diagnostic info to - newInnerStatusCode.- See also - setLocale(newLocale)¶
- Parameters:
- newLocale – int 
 
 - Sets the locale of this diagnostic info to - newLocale.- See also - setLocalizedText(newLocalizedText)¶
- Parameters:
- newLocalizedText – int 
 
 - Sets the localized text of this diagnostic info to - newLocalizedText.- See also - setNamespaceUri(newNamespaceUri)¶
- Parameters:
- newNamespaceUri – int 
 
 - Sets the namespace URI of this diagnostic info to - newNamespaceUri.- See also - setSymbolicId(newSymbolicId)¶
- Parameters:
- newSymbolicId – int 
 
 - Sets the symbolic id of this diagnostic info to - newSymbolicId.- See also - swap(other)¶
- Parameters:
- other – - QOpcUaDiagnosticInfo
 
 - Swaps diagnostic info object - otherwith this diagnostic info object. This operation is very fast and never fails.- symbolicId()¶
- Return type:
- int 
 
 - Returns the symbolic id of this diagnostic info. - See also