Optional
historizingStatic
historizerOptional
context: ISessionContextconstruct a simple javascript object with all the default properties of the event
result.$eventDataSource the event type node
construct an extension object constructor from a DataType nodeID or UADataType object
Optional
options: Record<string, unknown>Internal
walk up the hierarchy of objects until a view is found objects may belong to multiples views. Note: this method doesn't return the main view => Server object.
Optional
namespaceIndex: numberfind an EventType node in the address space
the eventType to find
Optional
namespaceIndex: numberan optional index to restrict the search in a given namespace
the EventType found or null.
note:
find an EventType node in the address space
the eventType to find
Optional
namespaceIndex: numberan optional index to restrict the search in a given namespace
the EventType found or null.
notes:
const objectType = addressSpace.findObjectType("ns=0;i=58");
objectType.browseName.toString().should.eql("BaseObjectType");
const objectType = addressSpace.findObjectType("BaseObjectType");
objectType.browseName.toString().should.eql("BaseObjectType");
const objectType = addressSpace.findObjectType(resolveNodeId("ns=0;i=58"));
objectType.browseName.toString().should.eql("BaseObjectType");
const objectType = addressSpace.findObjectType("CustomObjectType",36);
objectType.nodeId.namespace.should.eql(36);
objectType.browseName.toString().should.eql("BaseObjectType");
const objectType = addressSpace.findObjectType("36:CustomObjectType");
objectType.nodeId.namespace.should.eql(36);
objectType.browseName.toString().should.eql("BaseObjectType");
Optional
namespaceIndex: numberfind a ReferenceType by its inverse name.
the inverse name of the ReferenceType to find
Optional
namespaceIndex: number const variableType = addressSpace.findVariableType("ns=0;i=62");
variableType.browseName.toString().should.eql("BaseVariableType");
const variableType = addressSpace.findVariableType("BaseVariableType");
variableType.browseName.toString().should.eql("BaseVariableType");
const variableType = addressSpace.findVariableType(resolveNodeId("ns=0;i=62"));
variableType.browseName.toString().should.eql("BaseVariableType");
EventId is generated by the Server to uniquely identify a particular Event Notification.
get the extension object constructor from a DataType nodeID or UADataType object
Optional
options: IHistoricalDataNodeOptionsregister a task that will be executed just before the address space is disposed.
Static
create
when this flag is set, properties and components are not added as javascript member of the UAObject/UAVariable node