APIs

Show:

Constructor

AxisInformation

(
  • options
)

Parameters:

  • options Object
    • [engineeringUnits] EUInformation optional

      Holds the information about the engineering units for a given axis.

    • [euRange] Range optional

      Limits of the range of the axis

    • [title] LocalizedText optional

      User readable axis title, useful when the units are %, the Title may be Particle size

    • [axisScaleType] AxisScaleEnumeration optional

      LINEAR, LOG, LN, defined by AxisSteps

    • [axisSteps= null] Double optional

      Specific value of each axis steps, may be set to Null if not used

Methods

binaryStoreSize

() Number
Calculate the required size to store this object in a binary stream.

Returns:

Number:

createExtensionObjectDefinition

(
  • addressSpace
)

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

Parameters:

decode

(
  • stream
  • [option]
)

decode the object from a binary stream

Parameters:

encode

(
  • stream
)

encode the object into a binary stream

Parameters:

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
  • schema_folder
)
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"

  • schema_folder String

Returns:

String:

isValid

() Boolean
verify that all object attributes values are valid according to schema

Returns:

Boolean:

makeEnumeration

(
  • dataType
)

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

makeEnumeration(dataType);

Parameters:

  • dataType Object

Returns:

:

toString

() String

Returns:

String:

Properties

axisScaleType

AxisScaleEnumeration

LINEAR, LOG, LN, defined by AxisSteps

axisSteps

Double

Specific value of each axis steps, may be set to Null if not used

Default: null

engineeringUnits

EUInformation

Holds the information about the engineering units for a given axis.

title

LocalizedText

User readable axis title, useful when the units are %, the Title may be Particle size