Reference Class
Constructor
Item Index
Methods
- _addVariable
- _arrow
- _coerce_parent convert a 'string' , NodeId or Object into a valid and existing object
- _createNode
- _process_modelling_rule
- addAlias
- addElement add a new element in a ExtensionObject Array variable
- addFolder
- addObjectType
- addReferenceType
- addVariable
- addVariableType
- bindExtObjArrayNode
- checkSelectClause
- checkSelectClauses
- createDataType
- createExtObjArrayNode
- createNode
- deleteNode
- findReferenceTypeFromInverseName
- makeOptionalsMap
- prepareDataType
- removeElement
- toString
Methods
_addVariable
()
private
_arrow
()
private
Example:
---- some text ----->
_coerce_parent
convert a 'string' , NodeId or Object into a valid and existing object
-
addressSpace -
value -
coerceFunc
Parameters:
-
addressSpaceAddressSpace -
valueObject -
coerceFuncFunction
_createNode
-
options
Parameters:
-
optionsObject-
[nodeId]NodeId optional -
nodeClassNodeClass -
browseNameString | QualifiedNamethe node browseName the browseName can be either a string : "Hello" a string with a namespace : "1:Hello" a QualifiedName : new QualifiedName({name:"Hello", namespaceIndex:1});
-
[displayName]String | LocalizedText optionalthe node display name
-
[description]String | LocalizedText optionalthe node description
-
Returns:
_process_modelling_rule
-
references -
modellingRule
Parameters:
-
referencesArraythe array of references
-
modellingRuleReferencethe modellling Rule reference.
addAlias
-
alias_name -
nodeId
Parameters:
-
alias_nameStringthe alias name
-
nodeIdNodeIdNodeId must belong to this namespace
addElement
add a new element in a ExtensionObject Array variable
-
options -
uaArrayVariableNode -
nodeVariable -
uaArrayVariableNode -
constructor -
uaArrayVariableNode
Parameters:
-
optionsObjectdata used to construct the underlying ExtensionObject
-
uaArrayVariableNodeUAVariable -
nodeVariableUAVariablea variable already exposing an extension objects
-
uaArrayVariableNodeUAVariable -
constructorFunctionconstructor of the extension object to create
-
uaArrayVariableNodeUAVariable
Returns:
addFolder
-
parentFolder -
options
Parameters:
-
parentFolderObject -
optionsString | Object-
browseNameStringthe name of the folder
-
[nodeId]NodeId optional. An optional nodeId for this object
-
Returns:
addObjectType
-
options
add a new Object type to the address space
Parameters:
-
optionsObject-
browseNameStringthe object type name
-
[displayName]String | LocalizedText optionalthe display name
-
[subtypeOf="BaseObjectType"]String | NodeId | BaseNode optionalthe base class
-
[nodeId]String | NodeId optionalan optional nodeId for this objectType, if not provided a new nodeId will be created
-
[isAbstract= false]Boolean optional -
[eventNotifier= 0]Integer optional -
[postInstantiateFunc= null]Function optional
-
addReferenceType
-
options
Parameters:
-
optionsObject-
isAbstract -
browseName -
inverseName
-
addVariable
-
options
add a variable as a component of the parent node
Parameters:
-
optionsObject-
browseNameStringthe variable name
-
dataTypeStringthe variable datatype ( "Double", "UInt8" etc...)
-
[typeDefinition="BaseDataVariableType"]optional -
[modellingRule=null]optionalthe Modelling rule : "Optional" , "Mandatory"
-
[valueRank= -1]Int optionalthe valueRank
-
[arrayDimensions]Null | Arrayoptional
-
Returns:
addVariableType
-
options
add a new Variable type to the address space
Parameters:
-
optionsObject-
browseNameStringthe object type name
-
[displayName]String | LocalizedText optionalthe display name
-
[subtypeOf="BaseVariableType"]String | NodeId | BaseNode optionalthe base class
-
[nodeId]String | NodeId optionalan optional nodeId for this objectType, if not provided a new nodeId will be created
-
[isAbstract= false]Boolean optional -
dataTypeString | NodeIdthe variable DataType
-
[valueRank= -1]optional -
[arrayDimensions= null]optional{ Array
>
-
bindExtObjArrayNode
-
uaArrayVariableNode -
variableType -
indexPropertyName
Parameters:
-
uaArrayVariableNodeUAVariable -
variableTypeDataType -
indexPropertyNameString
Returns:
checkSelectClause
-
parentNode -
selectClause
Parameters:
-
parentNodeObject -
selectClauseObject
Returns:
checkSelectClauses
-
eventTypeNode -
selectClauses
Parameters:
-
eventTypeNodeObject -
selectClausesSelectClauseResults
Returns:
createDataType
-
options
Parameters:
-
optionsObject-
isAbstract -
browseNameBrowseName -
superTypeNodeId -
[nodeId]optional -
[displayName]optional -
[description]optional
-
createExtObjArrayNode
-
parentFolder -
options
create a node Variable that contains a array of ExtensionObject of a given type
Parameters:
-
parentFolderObject -
optionsObject-
browseName -
complexVariableType -
variableTypethe type of Extension objects stored in the array.
-
indexPropertyName
-
Returns:
createNode
-
options
Parameters:
-
optionsObject-
nodeClass -
[nodeVersion= "0"]String optionalinstall nodeVersion
-
[modellingRule= null]String optional
-
deleteNode
-
nodeOrNodeId
remove the specified Node from the address space
Parameters:
-
nodeOrNodeIdObject
findReferenceTypeFromInverseName
-
inverseName
find a ReferenceType by its inverse name.
Parameters:
-
inverseNameStringthe inverse name of the ReferenceType to find
Returns:
makeOptionalsMap
-
optionals transform
Parameters:
-
optionals transformObjectoptional into a map
prepareDataType
-
dataType
Parameters:
-
dataTypeObject
removeElement
-
uaArrayVariableNode -
elementIndex -
uaArrayVariableNode -
element
Parameters:
-
uaArrayVariableNodeUAVariable -
elementIndexNumberindex of element to remove in array
-
uaArrayVariableNodeUAVariable -
elementUAVariablenode of element to remove in array
toString
()
String
turn reference into a arrow : ---- REFERENCETYPE --> [NODEID]
The NodeOPCUA API