Employee Class
Extends Person
Module: opcua.address_space.types
Constructor
Employee
(
-
options
Parameters:
-
options
Object-
[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:
-
stream
BinaryStream -
[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