QOpcUaAddNodeItem#
This class stores the necessary information to create a new node on the server. More…
Synopsis#
Functions#
def
browseName
()def
nodeAttributes
()def
nodeAttributesRef
()def
nodeClass
()def
parentNodeId
()def
referenceTypeId
()def
requestedNewNodeId
()def
setBrowseName
(browseName)def
setNodeAttributes
(nodeAttributes)def
setNodeClass
(nodeClass)def
setParentNodeId
(parentNodeId)def
setReferenceTypeId
(referenceTypeId)def
setRequestedNewNodeId
(requestedNewNodeId)def
setTypeDefinition
(typeDefinition)def
typeDefinition
()
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#
See also
- class PySide6.QtOpcUa.QOpcUaAddNodeItem#
PySide6.QtOpcUa.QOpcUaAddNodeItem(arg__1)
- Parameters:
arg__1 –
PySide6.QtOpcUa.QOpcUaAddNodeItem
Constructs a add node item from other
.
- PySide6.QtOpcUa.QOpcUaAddNodeItem.browseName()#
- Return type:
Returns the browse name of the new node.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.nodeAttributes()#
- Return type:
Returns the values for the node attributes of the new node.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.nodeAttributesRef()#
- Return type:
Returns a reference to the values for the node attributes of the new node.
Returns the node class of the new node.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.parentNodeId()#
- Return type:
Returns the parent node id.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.referenceTypeId()#
- Return type:
str
Returns the reference type id.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.requestedNewNodeId()#
- Return type:
Returns the requested new node id.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.setBrowseName(browseName)#
- Parameters:
browseName –
PySide6.QtOpcUa.QOpcUaQualifiedName
Sets the browse name of the new node to browseName
.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.setNodeAttributes(nodeAttributes)#
- Parameters:
nodeAttributes –
PySide6.QtOpcUa.QOpcUaNodeCreationAttributes
Sets the values for the node attributes of the new node to nodeAttributes
. Only the attributes supported by the node class of the new node will be used.
See also
Sets the node class of the new node to nodeClass
.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.setParentNodeId(parentNodeId)#
- Parameters:
parentNodeId –
PySide6.QtOpcUa.QOpcUaExpandedNodeId
Sets the parent node id to parentNodeId
. A reference of the type set in setReferenceTypeId()
from this node to the newly added node will be created.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.setReferenceTypeId(referenceTypeId)#
- Parameters:
referenceTypeId – str
Sets the reference type id to referenceTypeId
. A reference of this type will be used to connect the node to the parent node.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.setRequestedNewNodeId(requestedNewNodeId)#
- Parameters:
requestedNewNodeId –
PySide6.QtOpcUa.QOpcUaExpandedNodeId
Sets the requested new node id to requestedNewNodeId
.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.setTypeDefinition(typeDefinition)#
- Parameters:
typeDefinition –
PySide6.QtOpcUa.QOpcUaExpandedNodeId
Sets the node id of the type definition node to typeDefinition
. This value shall be set if the node class is not Object or Variable.
See also
- PySide6.QtOpcUa.QOpcUaAddNodeItem.typeDefinition()#
- Return type:
Returns the node id of the type definition node.
See also