PySide6.QtOpcUa.QOpcUaAddReferenceItem¶
- class QOpcUaAddReferenceItem¶
This class stores the necessary information to add a new reference on the server.
Details
See also
Synopsis¶
Methods¶
def
__init__()def
sourceNodeId()def
targetNodeId()
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
- __init__()¶
Default constructs an add reference item with no parameters set.
- __init__(other)
- Parameters:
other –
QOpcUaAddReferenceItem
Constructs an add reference item from
other.- isForwardReference()¶
- Return type:
bool
Returns the isForwardReference flag.
See also
- referenceTypeId()¶
- Return type:
str
Returns the reference type id.
See also
- setIsForwardReference(isForwardReference)¶
- Parameters:
isForwardReference – bool
Sets the
isForwardReferenceflag toisForwardReference. If the flag is set, a forward reference is created. Otherwise, an inverse reference is created.See also
- setReferenceTypeId(referenceTypeId)¶
- Parameters:
referenceTypeId – str
Sets the reference type id to
referenceTypeId. A reference of this type will be created on the server.See also
- setSourceNodeId(sourceNodeId)¶
- Parameters:
sourceNodeId – str
Sets the node id of the source node to
sourceNodeId.See also
Sets the node class of the target node to
targetNodeClass. The target node class shall be specified because the target node might be located on another server.See also
- setTargetNodeId(targetNodeId)¶
- Parameters:
targetNodeId –
QOpcUaExpandedNodeId
Sets the node id of the target node to
targetNodeId.See also
- setTargetServerUri(targetServerUri)¶
- Parameters:
targetServerUri – str
Sets the URI of the target server to
targetServerUri. If this value is set, it will override the server URI fromsetTargetNodeId().See also
- sourceNodeId()¶
- Return type:
str
Returns the source node id.
See also
Returns the target node class.
See also
- targetNodeId()¶
- Return type:
Returns the target node id.
See also
- targetServerUri()¶
- Return type:
str
Returns the target server URI.
See also