Introduction¶
UaNode functions are deprecated and replaced by Ua functions starting with atvise 3.6. The functions can still be used to provide backward compatibility, however, it may result in errors and/or undefined behavior in conjunction with access control.
Ua functions
The following table shows how the respective function (and parameters if necessary) must be replaced.
UaNode (deprecated) |
Ua.Node (new) |
|---|---|
UaNode.exists |
|
UaNode.create
|
|
UaNode.remove |
|
UaNode.browse
|
|
UaNode.addreference |
|
UaNode.deletereference |
|
UaNode.assign
|
|
UaNode.datahistory
|
|
UaNode.datahistoryRelease
|
Ua.Variable.dataHistoryRelease
|
UaNode.equal |
|
UaNode.call |
|
UaNode.good/bad/uncertain |
|
UaNode.toString UaNode.statusToString Ua.Node.nodeclassToString |
Constants
The following table shows how to replace the respective constants:
Constants (old) |
Constants (new) |
|---|---|
UaNode.<datatype_constant> |
Ua.DataType.<constant> |
UaNode.<nodeclass_constant> |
Ua.NodeClass.<constant> |
UaNode.<valuerank_constant> |
Ua.ValueRank.<constant> |
UaNode.<modellingrule_constant> |
Ua.ModellingRule.<constant> |
UaNode.<typedefinition_constant> |
Ua.VariableType.<constant> resp. Ua.ObjectType.<constant> |
UaNode.<eventnotifier_constant> |
Ua.EventNotifier.<constant> |
UaNode.<browsedirection_constant> |
Ua.Node.<constant> |
UaNode.<reference_constant> |
Ua.Reference.<constant> |