API Docs for: 0.0.57
Show:

Reference Class

Constructor

Reference

(
  • options.referenceType
  • options.nodeId
  • options.isForward
)

Parameters:

  • options.referenceType String
  • options.nodeId NodeId
  • options.isForward Boolean

Methods

_arrow

() private

Example:

  ---- some text ----->

createExtensionObjectDefinition

(
  • addressSpace
)

creates the requested data structure and javascript objects for the OPCUA ServertStatus

Parameters:

createExtObjArrayNode

(
  • parentFolder
  • options
)
Object | UAVariable

Parameters:

  • parentFolder Object
  • options Object
    • browseName
    • complexVariableType
    • variableType
    • indexPropertyName

Returns:

Object | UAVariable:

generateEnumerationCode

(
  • dataType
  • filename
)

convert a nodeset enumeration into a javascript script enumeration code

Parameters:

  • dataType Object
  • filename String

    the output filename

getSchemaSourceFile

(
  • namespace
  • schemaName
  • schema_type
)
String private

returns the location of the javascript version of the schema corresponding to schemaName

Parameters:

  • namespace String
  • schemaName String
  • schema_type String

    "enum" | "schema"

Returns:

String:

make_back_references

(
  • addressSpace
)

Parameters:

makeEnumeration

(
  • dataType
)

var dataType = { browseName: "Color", definition: [ { name: "Red", value: 12}, { name: "Blue", value: 11} ] };

makeEnumeration(dataType);

Parameters:

  • dataType Object

Returns:

:

makeRelativePath

(
  • str
  • addressSpace
)
RelativePath

construct a RelativePath from a string containing the relative path description. The string must comply to the OPCUA BNF for RelativePath ( see part 4 - Annexe A)

Parameters:

Returns:

Example:

:

 var relativePath = makeRelativePath("/Server.ServerStatus.CurrentTime");

toString

() String

turn reference into a arrow : ---- REFERENCETYPE --> [NODEID]

Returns:

String: