Employee Class
Extends Person
Module: opcua.address_space.types
Constructor
Employee
(
-
options
Parameters:
-
optionsObject-
[role]Role optional -
[service]UAString optional -
[salary= 1000]Double optional
-
Item Index
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:
-
streamBinaryStream -
[option]Object optional
decode_debug
()
isValid
()
Boolean
verify that all object attributes values are valid according to schema
Returns:
Boolean:
toString
()
String
Returns:
String:
Properties
address
UAString
age
Int32
Default: 25
lastName
UAString
salary
Double
Default: 1000
The NodeOPCUA API