API Docs for: 0.0.57
Show:

DataValue Class

Constructor

DataValue

(
  • options
)

Parameters:

  • options Object
    • [value= null] Variant optional
    • [statusCode= 0] StatusCode optional
    • [sourceTimestamp= null] DateTime optional
    • [sourcePicoseconds= 0] UInt16 optional
    • [serverTimestamp= null] DateTime optional
    • [serverPicoseconds= 0] UInt16 optional

Methods

binaryStoreSize

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

Returns:

Number:

decode

(
  • stream
  • [option]
)

decode the object from a binary stream

Parameters:

decode_debug

()

isValid

() Boolean

verify that all object attributes values are valid according to schema

Returns:

Boolean:

toString

() String

Returns:

String:

Properties

serverPicoseconds

UInt16

Default: 0

serverTimestamp

DateTime

Default: null

sourcePicoseconds

UInt16

Default: 0

sourceTimestamp

DateTime

Default: null

statusCode

StatusCode

Default: 0

value

Variant

Default: null