APIs

Show:

Constructor

Enum

(
  • key
  • value
)

Parameters:

  • key String

    The Enum key.

  • value Number

    The Enum value.

Methods

addTestUAAnalogItem

(
  • parentNode
)

add a fake analog data item for testing

Parameters:

  • parentNode Object

build_client_server_session

(
  • done
)
G_session: null, g_server: ( | OPCUAServer), shutdown: shutdown

Parameters:

  • done Object

Returns:

G_session: null, g_server: ( | OPCUAServer), shutdown: shutdown:

}

Example:

before(function (done) { client_server = build_client_server_session(server_options,function (err) { if (!err) { g_session = client_server.g_session; } done(err); });

}); after(function (done) { client_server.shutdown(done); });

createHVACSystem

(
  • addressSpace
)

Parameters:

  • addressSpace Object

Returns:

:

get

(
  • key
)
EnumItem

Returns the appropriate EnumItem.

Parameters:

  • key EnumItem | | String | | Number

    The object to get with.

Returns:

EnumItem:

The get result.

has

(
  • value
)
Boolean

Checks if the flagged EnumItem has the passing object.

Parameters:

  • value EnumItem | | String | | Number

    The object to check with.

Returns:

Boolean:

The check result.

is

(
  • item
)
Boolean

Checks if the EnumItem is the same as the passing object.

Parameters:

  • item EnumItem | | String | | Number

    The object to check with.

Returns:

Boolean:

The check result.

toJSON

() String

Returns JSON object representation of this EnumItem.

Returns:

String:

JSON object representation of this EnumItem.

toString

() String

Returns String representation of this EnumItem.

Returns:

String:

String representation of this EnumItem.

valueOf

() String

Returns the value to compare with.

Returns:

String:

The value to compare with.