interface UADiscreteAlarmHelper {
    acknowledgeAndAutoConfirmBranch(branch: ConditionSnapshot, comment: LocalizedText | LocalizedTextLike): void;
    activateAlarm(): void;
    autoConfirmBranch(branch: ConditionSnapshot, comment: LocalizedTextLike): void;
    conditionOfNode(): null | UAObject | UAVariable;
    createBranch(): ConditionSnapshot;
    currentBranch(): ConditionSnapshot;
    deactivateAlarm(retain?: boolean): void;
    deleteBranch(branch: ConditionSnapshot): void;
    getBranchCount(): number;
    getBranches(): ConditionSnapshot[];
    getBranchIds(): NodeId[];
    getCurrentConditionInfo(): ConditionInfo;
    getEnabledState(): boolean;
    getEnabledStateAsString(): string;
    getInputNodeNode(): null | UAVariable;
    getInputNodeValue(): any;
    getMaxTimeShelved(): number;
    getSuppressedOrShelved(): boolean;
    installInputNodeMonitoring(inputNode: NodeId | BaseNode): void;
    isSuppressedOrShelved(): boolean;
    on(eventName: string, eventHandle: any): this;
    raiseConditionEvent(branch: ConditionSnapshot, renewEventId: boolean): void;
    raiseNewBranchState(branch: ConditionSnapshot): void;
    raiseNewCondition(conditionInfo: ConditionInfoOptions): void;
    setEnabledState(requestedEnabledState: boolean, options?: ISetStateOptions): StatusCode;
    setLocalTime(time: TimeZoneDataType): void;
    setMaxTimeShelved(duration: number): void;
    setReceiveTime(time: Date): void;
    setSourceName(name: string): void;
    setSourceNode(node: NodeId | BaseNode): void;
    setTime(time: Date): void;
    updateState(): void;
}

Hierarchy (view full)

Methods

  • Returns void

  • Parameters

    • Optionalretain: boolean

    Returns void

  • Parameters

    Returns void

  • Returns number

  • Returns boolean

  • Returns string

  • Returns any

  • Returns number

  • Returns boolean

  • Returns boolean

  • Parameters

    • eventName: string
    • eventHandle: any

    Returns this

  • Parameters

    Returns void

  • Parameters

    • requestedEnabledState: boolean
    • Optionaloptions: ISetStateOptions

    Returns StatusCode

  • Parameters

    Returns void

  • Parameters

    • duration: number

    Returns void

  • Parameters

    • time: Date

    Returns void

  • Parameters

    • name: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    • time: Date

    Returns void

  • Returns void