interface InstantiateAlarmConditionOptions {
    browseName: QualifiedNameLike;
    componentOf?: NodeIdLike | BaseNode;
    conditionClass?:
        | null
        | NodeId
        | BaseNode
        | UAObject;
    conditionName?: string;
    conditionOf?:
        | null
        | NodeId
        | BaseNode
        | UAObject;
    conditionSource?: null | NodeId | BaseNode;
    copyAlsoModellingRules?: boolean;
    description?: LocalizedTextLike;
    displayName?: null | LocalizedTextLike;
    encodingOf?: NodeId | BaseNode;
    eventNotifier?: EventNotifierFlags;
    eventSourceOf?: NodeIdLike | BaseNode;
    inputNode: NodeId | BaseNode;
    maxTimeShelved?: number;
    modellingRule?: ModellingRuleType;
    namespace?: INamespace;
    nodeId?: NodeIdLike;
    notifierOf?: NodeIdLike | BaseNode;
    optionals?: string[];
    organizedBy?: NodeIdLike | BaseNode;
}

Hierarchy (view full)

Properties

browseName: QualifiedNameLike

the browse name of the new node to instantiate

componentOf?: NodeIdLike | BaseNode

the parent Object holding this object note

  • when componentOf is specified, organizedBy must not be defined
conditionClass?:
    | null
    | NodeId
    | BaseNode
    | UAObject
conditionName?: string
conditionOf?:
    | null
    | NodeId
    | BaseNode
    | UAObject
conditionSource?: null | NodeId | BaseNode
copyAlsoModellingRules?: boolean

shall we also replicate the HasModelling rule reference ?

description?: LocalizedTextLike

an optional description

if not provided the default description of the corresponding Type will be used.

displayName?: null | LocalizedTextLike

an optional displayName

if not provided the default description of the corresponding browseName will be used.

encodingOf?: NodeId | BaseNode
eventNotifier?: EventNotifierFlags
eventSourceOf?: NodeIdLike | BaseNode
inputNode: NodeId | BaseNode
maxTimeShelved?: number
modellingRule?: ModellingRuleType

modellingRule

namespace?: INamespace

the namespace in which the node shall be instantiated (if not specified, the default instance namespace (own namespace) of the addressSpace will be used)

nodeId?: NodeIdLike

a (optional) predefined nodeId to assigned to the instance If not specified, a default nodeid will be created.

notifierOf?: NodeIdLike | BaseNode
optionals?: string[]

a list of components and properties names that have a HasModellingRule of Optional in the type definition that we want to instantiate. Note:

  • the name must follow the OPCUA naming convention and match the browse name of the property (same case)
  • the name can be composed to represent a path to a property or component
  optionals: ["MyOptionalVariable", "MyOptionalMethod", "MyOptionalComponent.MyProperty"];

@default: []

organizedBy?: NodeIdLike | BaseNode

the parent Folder holding this object

note

  • when organizedBy is specified, componentOf must not be defined