NodeOPCUA API Documentation
    Preparing search index...

    Interface UACertificateExpirationAlarm

    namespace http://opcfoundation.org/UA/
    nodeClass ObjectType
    typedDefinition AlarmConditionType i=2915
    isAbstract false
    interface UACertificateExpirationAlarm {
        accessRestrictions: AccessRestrictionsFlag | undefined;
        ackedState: UATwoStateVariable<LocalizedText>;
        acknowledge: UAMethod;
        activeState: UATwoStateVariable<LocalizedText>;
        addComment: UAMethod;
        addressSpace: IAddressSpace;
        audibleEnabled?: UAProperty<boolean, Boolean>;
        audibleSound?: UAAudioVariable<Buffer<ArrayBufferLike>>;
        branchId: UAProperty<NodeId, NodeId>;
        browseName: QualifiedName;
        certificate: UAProperty<Buffer<ArrayBufferLike>, ByteString>;
        certificateType: UAProperty<NodeId, NodeId>;
        clientUserId: UAProperty<UAString, String>;
        comment: UAConditionVariable<LocalizedText, LocalizedText>;
        conditionClassId: UAProperty<NodeId, NodeId>;
        conditionClassName: UAProperty<LocalizedText, LocalizedText>;
        conditionName: UAProperty<UAString, String>;
        conditionRefresh: UAMethod;
        conditionRefresh2: UAMethod;
        conditionSubClassId?: UAProperty<NodeId[], NodeId>;
        conditionSubClassName?: UAProperty<LocalizedText[], LocalizedText>;
        confirm?: UAMethod<UAMethodEvents>;
        confirmedState?: UATwoStateVariable<LocalizedText>;
        description: LocalizedText;
        disable: UAMethod;
        displayName: LocalizedText[];
        enable: UAMethod;
        enabledState: UATwoStateVariable<LocalizedText>;
        eventId: UAProperty<Buffer<ArrayBufferLike>, ByteString>;
        eventNotifier: EventNotifierFlags;
        eventType: UAProperty<NodeId, NodeId>;
        expirationDate: UAProperty<Date, DateTime>;
        expirationLimit?: UAProperty<number, Double>;
        firstInGroup?: UAAlarmGroup;
        firstInGroupFlag?: UABaseDataVariable<boolean, Boolean>;
        getGroupMemberships?: UAMethod<UAMethodEvents>;
        hasMethods: boolean;
        inputNode: UAProperty<NodeId, NodeId>;
        lastSeverity: UAConditionVariable<number, UInt16>;
        latchedState?: UATwoStateVariable<LocalizedText>;
        localTime?: UAProperty<DTTimeZone, ExtensionObject>;
        maxTimeShelved?: UAProperty<number, Double>;
        message: UAProperty<LocalizedText, LocalizedText>;
        modellingRule: ModellingRuleType | undefined;
        namespace: INamespace;
        namespaceIndex: number;
        namespaceUri: string;
        nodeClass: Object;
        nodeId: NodeId;
        normalState: UAProperty<NodeId, NodeId>;
        offDelay?: UAProperty<number, Double>;
        onDelay?: UAProperty<number, Double>;
        onFirstBrowseAction?: (this: BaseNode) => Promise<void>;
        outOfServiceState?: UATwoStateVariable<LocalizedText>;
        parent: BaseNode<BaseNodeEvents> | null;
        parentNodeId: NodeId | undefined;
        placeInService?: UAMethod<UAMethodEvents>;
        placeInService2?: UAMethod<UAMethodEvents>;
        quality: UAConditionVariable<StatusCode, StatusCode>;
        reAlarmRepeatCount?: UABaseDataVariable<number, Int16>;
        reAlarmTime?: UAProperty<number, Double>;
        receiveTime: UAProperty<Date, DateTime>;
        removeFromService?: UAMethod<UAMethodEvents>;
        removeFromService2?: UAMethod<UAMethodEvents>;
        reset?: UAMethod<UAMethodEvents>;
        reset2?: UAMethod<UAMethodEvents>;
        retain: UAProperty<boolean, Boolean>;
        rolePermissions: RolePermissionType[] | undefined;
        severity: UAProperty<number, UInt16>;
        shelvingState?: UAShelvedStateMachine;
        silence?: UAMethod<UAMethodEvents>;
        silenceState?: UATwoStateVariable<LocalizedText>;
        sourceName: UAProperty<UAString, String>;
        sourceNode: UAProperty<NodeId, NodeId>;
        supportsFilteredRetain: UAProperty<boolean, Boolean>;
        suppress?: UAMethod<UAMethodEvents>;
        suppress2?: UAMethod<UAMethodEvents>;
        suppressedOrShelved: UAProperty<boolean, Boolean>;
        suppressedState?: UATwoStateVariable<LocalizedText>;
        time: UAProperty<Date, DateTime>;
        typeDefinition: NodeId;
        typeDefinitionObj: UAObjectType;
        unsuppress?: UAMethod<UAMethodEvents>;
        unsuppress2?: UAMethod<UAMethodEvents>;
        addReference(options: AddReferenceOpts): void;
        allReferences(): UAReference[];
        browseNode(
            browseDescription: BrowseDescriptionOptions2,
            session?: ISessionContext,
        ): ReferenceDescription[];
        browseNodeByTargetName(
            relativePathElement: RelativePathElement,
            isLast: boolean,
        ): NodeId[];
        clone(
            options: CloneOptions,
            optionalFilter?: CloneFilter,
            extraInfo?: CloneExtraInfo,
        ): UAObject;
        emit<K extends keyof UAObjectEvents>(
            event: K,
            ...args: Parameters<UAObjectEvents[K]>,
        ): boolean;
        findReference(
            referenceType: string | NodeId | UAReferenceType,
            isForward?: boolean,
        ): UAReference | null;
        findReferences(
            referenceType: string | NodeId | UAReferenceType,
            isForward?: boolean,
        ): UAReference[];
        findReferencesAsObject(
            referenceType: string | NodeId | UAReferenceType,
            isForward?: boolean,
        ): BaseNode<BaseNodeEvents>[];
        findReferencesEx(
            referenceType: string | NodeId | UAReferenceType,
            browseDirection?: BrowseDirection,
        ): UAReference[];
        findReferencesExAsObject(
            referenceType: string | NodeId | UAReferenceType,
            browseDirection?: BrowseDirection,
        ): BaseNode<BaseNodeEvents>[];
        fullName(): string;
        getAccessRestrictions(inherited: boolean): AccessRestrictionsFlag;
        getAggregates(): BaseNode<BaseNodeEvents>[];
        getChildByName(
            browseName: QualifiedNameOptions,
        ): BaseNode<BaseNodeEvents> | null;
        getChildByName(
            browseName: string,
            namespaceIndex?: number,
        ): BaseNode<BaseNodeEvents> | null;
        getComponentByName(
            componentName: QualifiedNameOptions,
        ): UAObject<UAObjectEvents> | UAVariable<UAVariableEvents> | null;
        getComponentByName(
            componentName: string,
            namespaceIndex?: number,
        ): UAObject<UAObjectEvents> | UAVariable<UAVariableEvents> | null;
        getComponents(): BaseNode<BaseNodeEvents>[];
        getDisplayName(locale?: string): string;
        getEventSourceOfs(): BaseNode<BaseNodeEvents>[];
        getEventSources(): BaseNode<BaseNodeEvents>[];
        getFolderElementByName(
            browseName: QualifiedNameOptions,
        ): BaseNode<BaseNodeEvents> | null;
        getFolderElementByName(
            browseName: string,
            namespaceIndex?: number,
        ): BaseNode<BaseNodeEvents> | null;
        getMethodById(nodeId: NodeId): UAMethod<UAMethodEvents> | null;
        getMethodByName(
            methodName: QualifiedNameOptions,
        ): UAMethod<UAMethodEvents> | null;
        getMethodByName(
            methodName: string,
            namespaceIndex?: number,
        ): UAMethod<UAMethodEvents> | null;
        getMethods(): UAMethod<UAMethodEvents>[];
        getNodeVersion(): UAProperty<UAString, String> | null;
        getNotifiers(): BaseNode<BaseNodeEvents>[];
        getProperties(): BaseNode<BaseNodeEvents>[];
        getPropertyByName(
            propertyName: QualifiedNameOptions,
        ): UAVariable<UAVariableEvents> | null;
        getPropertyByName(
            propertyName: string,
            namespaceIndex?: number,
        ): UAVariable<UAVariableEvents> | null;
        getRolePermissions(inherited: boolean): RolePermissionType[] | null;
        install_extra_properties(): void;
        isDisposed(): boolean;
        listenerCount<K extends keyof UAObjectEvents>(event: K): number;
        off<K extends keyof UAObjectEvents>(
            event: K,
            listener: UAObjectEvents[K],
        ): this;
        on<K extends keyof UAObjectEvents>(
            event: K,
            listener: UAObjectEvents[K],
        ): this;
        once<K extends keyof UAObjectEvents>(
            event: K,
            listener: UAObjectEvents[K],
        ): this;
        raiseEvent(
            eventType: BaseNode<BaseNodeEvents> | EventTypeLike,
            eventData: RaiseEventData,
        ): void;
        readAttribute(
            context: ISessionContext | null,
            attributeId: AttributeIds,
            indexRange?: NumericRange,
            dataEncoding?: QualifiedNameLike | null,
        ): DataValue;
        removeAllListeners(): void;
        removeListener<K extends keyof UAObjectEvents>(
            event: K,
            listener: UAObjectEvents[K],
        ): void;
        removeReference(referenceOpts: AddReferenceOpts): void;
        setAccessRestrictions(accessRestrictions: AccessRestrictionsFlag): void;
        setDescription(value: LocalizedTextLike | null): void;
        setDisplayName(value: LocalizedTextLike | LocalizedTextLike[]): void;
        setEventNotifier(eventNotifierFlags: EventNotifierFlags): void;
        setMaxListeners(n: number): void;
        setRolePermissions(rolePermissions: RolePermissionTypeOptions[]): void;
        writeAttribute(
            context: ISessionContext | null,
            writeValue: WriteValueOptions,
            callback: (err: Error | null, statusCode?: StatusCode) => void,
        ): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    accessRestrictions: AccessRestrictionsFlag | undefined
    acknowledge: UAMethod
    addComment: UAMethod
    addressSpace: IAddressSpace
    audibleEnabled?: UAProperty<boolean, Boolean>
    audibleSound?: UAAudioVariable<Buffer<ArrayBufferLike>>
    browseName: QualifiedName
    certificate: UAProperty<Buffer<ArrayBufferLike>, ByteString>
    certificateType: UAProperty<NodeId, NodeId>
    clientUserId: UAProperty<UAString, String>
    conditionClassId: UAProperty<NodeId, NodeId>
    conditionClassName: UAProperty<LocalizedText, LocalizedText>
    conditionName: UAProperty<UAString, String>
    conditionRefresh: UAMethod
    conditionRefresh2: UAMethod
    conditionSubClassId?: UAProperty<NodeId[], NodeId>
    conditionSubClassName?: UAProperty<LocalizedText[], LocalizedText>
    description: LocalizedText
    disable: UAMethod
    displayName: LocalizedText[]
    enable: UAMethod
    eventId: UAProperty<Buffer<ArrayBufferLike>, ByteString>
    eventNotifier: EventNotifierFlags
    eventType: UAProperty<NodeId, NodeId>
    expirationDate: UAProperty<Date, DateTime>
    expirationLimit?: UAProperty<number, Double>
    firstInGroup?: UAAlarmGroup
    firstInGroupFlag?: UABaseDataVariable<boolean, Boolean>
    getGroupMemberships?: UAMethod<UAMethodEvents>
    hasMethods: boolean
    inputNode: UAProperty<NodeId, NodeId>
    lastSeverity: UAConditionVariable<number, UInt16>
    maxTimeShelved?: UAProperty<number, Double>
    modellingRule: ModellingRuleType | undefined
    namespace: INamespace
    namespaceIndex: number
    namespaceUri: string
    nodeClass: Object
    nodeId: NodeId
    normalState: UAProperty<NodeId, NodeId>
    offDelay?: UAProperty<number, Double>
    onDelay?: UAProperty<number, Double>
    onFirstBrowseAction?: (this: BaseNode) => Promise<void>
    outOfServiceState?: UATwoStateVariable<LocalizedText>
    parent: BaseNode<BaseNodeEvents> | null
    parentNodeId: NodeId | undefined
    placeInService?: UAMethod<UAMethodEvents>
    placeInService2?: UAMethod<UAMethodEvents>
    reAlarmRepeatCount?: UABaseDataVariable<number, Int16>
    reAlarmTime?: UAProperty<number, Double>
    receiveTime: UAProperty<Date, DateTime>
    removeFromService?: UAMethod<UAMethodEvents>
    removeFromService2?: UAMethod<UAMethodEvents>
    retain: UAProperty<boolean, Boolean>
    rolePermissions: RolePermissionType[] | undefined
    severity: UAProperty<number, UInt16>
    shelvingState?: UAShelvedStateMachine
    sourceName: UAProperty<UAString, String>
    sourceNode: UAProperty<NodeId, NodeId>
    supportsFilteredRetain: UAProperty<boolean, Boolean>
    suppressedOrShelved: UAProperty<boolean, Boolean>
    time: UAProperty<Date, DateTime>
    typeDefinition: NodeId
    typeDefinitionObj: UAObjectType
    unsuppress?: UAMethod<UAMethodEvents>
    unsuppress2?: UAMethod<UAMethodEvents>

    Methods

    • find the the references that are strictly of type reference.

      The isForward boolean flag specifies the direction of the references to be looked for.

      Forward direction is implied if omitted.

      • will throw an exception if more than one reference exists with the referenceType.
      • will return null if no reference exists.

      Parameters

      Returns UAReference | null

    • find all the references that are strictly of type reference. The isForward boolean flag specifies the direction of the references to be looked for.

      Forward direction is implied if omitted.

      Parameters

      Returns UAReference[]

    • find all the nodes that are referenced by references strictly of type reference.

      The isForward boolean flag specifies the direction of the references to be looked for.

      Forward direction is implied if omitted.

      • will throw an exception if more than one reference exists with the referenceType.
      • will return null if no reference exists.

      Parameters

      Returns BaseNode<BaseNodeEvents>[]

    • return a complete name of this object by pre-pending name of its parent(s) to its own name

      Returns string

    • get effective accessRestrictions if (inherited is true) and node has no accessRestrictions, then default accessRestriction from namespace is returned if (inherited is false) and node has no accessRestrictions, then AccessRestrictionsFlag.None is returned

      Parameters

      • inherited: boolean

      Returns AccessRestrictionsFlag

    • Parameters

      • Optionallocale: string

        the locale of the text to return (e.g. en-EN)

      Returns string

    • Parameters

      • n: number

      Returns void