Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Hierarchy

  • EventEmitter
    • ConditionSnapshot

Index

Constructors

constructor

  • Parameters

    Returns ConditionSnapshot

Properties

branchId

branchId: NodeId

condition

condition: BaseNode

eventData

eventData: IEventData

Static normalizeName

normalizeName: (str: string) => string

Type declaration

    • (str: string): string
    • Parameters

      • str: string

      Returns string

Methods

_constructEventData

  • Returns IEventData

_get_var

  • _get_var(varName: string): any
  • Parameters

    • varName: string

    Returns any

_set_var

  • _set_var(varName: string, dataType: DataType, value: unknown): void
  • Parameters

    • varName: string
    • dataType: DataType
    • value: unknown

    Returns void

getAckedState

  • getAckedState(): boolean
  • Returns boolean

getActiveState

  • getActiveState(): boolean
  • Returns boolean

getBranchId

  • method

    getBrandId

    Returns NodeId

getComment

  • method

    getComment

    Returns LocalizedText

getConfirmedState

  • getConfirmedState(): boolean
  • Returns boolean

getEnabledState

  • getEnabledState(): boolean
  • method

    getEnabledState

    Returns boolean

getEnabledStateAsString

  • getEnabledStateAsString(): string
  • method

    getEnabledStateAsString

    Returns string

getEventId

  • getEventId(): Buffer
  • method

    getEventId

    Returns Buffer

getEventType

  • method

    getEventType return {NodeId}

    Returns NodeId

getLastSeverity

  • getLastSeverity(): number
  • method

    getLastSeverity

    Returns number

getMessage

  • Returns LocalizedText

getQuality

  • method

    getQuality

    Returns StatusCode

getRetain

  • getRetain(): boolean
  • method

    getRetain

    Returns boolean

getSeverity

  • getSeverity(): number
  • method

    getSeverity

    Returns number

getSourceName

  • Returns LocalizedText

getSourceNode

  • method

    getSourceNode return {NodeId}

    Returns NodeId

getSuppressedState

  • getSuppressedState(): boolean
  • method

    getSuppressedState

    Returns boolean

isCurrentBranch

  • isCurrentBranch(): boolean
  • Returns boolean

on

readValue

renewEventId

  • renewEventId(): void
  • method

    renewEventId

    Returns void

resolveSelectClause

  • method

    resolveSelectClause

    Parameters

    Returns NodeId

setAckedState

  • Parameters

    • ackedState: boolean

    Returns StatusCode

setActiveState

  • setActiveState(newActiveState: boolean): StatusCode
  • Parameters

    • newActiveState: boolean

    Returns StatusCode

setClientUserId

  • setClientUserId(userIdentity: string): void
  • method

    setClientUserId

    Parameters

    • userIdentity: string

    Returns void

setComment

  • Set condition comment

    Comment contains the last comment provided for a certain state (ConditionBranch). It may have been provided by an AddComment Method, some other Method or in some other manner. The initial value of this Variable is null, unless it is provided in some other manner. If a Method provides as an option the ability to set a Comment, then the value of this Variable is reset to null if an optional comment is not provided.

    method

    setComment

    Parameters

    Returns void

setConfirmedState

  • setConfirmedState(confirmedState: boolean): void
  • Parameters

    • confirmedState: boolean

    Returns void

setConfirmedStateIfExists

  • setConfirmedStateIfExists(confirmedState: boolean): void
  • Parameters

    • confirmedState: boolean

    Returns void

setEnabledState

  • setEnabledState(value: boolean): void
  • method

    setEnabledState

    Parameters

    • value: boolean

    Returns void

    void

setLastSeverity

  • setLastSeverity(severity: number): void
  • method

    setLastSeverity

    Parameters

    • severity: number

    Returns void

setLocalTime

  • LocalTime is a structure containing the Offset and the DaylightSavingInOffset flag. The Offset specifies the time difference (in minutes) between the Time Property and the time at the location in which the event was issued. If DaylightSavingInOffset is TRUE, then Standard/Daylight savings time (DST) at the originating location is in effect and Offset includes the DST c orrection. If FALSE then the Offset does not include DST correction and DST may or may not have been in effect.

    method

    setLocalTime

    Parameters

    Returns void

setMessage

  • method

    setMessage

    Parameters

    Returns void

setQuality

  • set the condition quality

    method

    setQuality

    Parameters

    Returns void

setReceiveTime

  • setReceiveTime

    (as per OPCUA 1.0.3 part 5)

    ReceiveTime provides the time the OPC UA Server received the Event from the underlying device of another Server.

    ReceiveTime is analogous to ServerTimestamp defined in Part 4, i.e. in the case where the OPC UA Server gets an Event from another OPC UA Server, each Server applies its own ReceiveTime. That implies that a Client may get the same Event, having the same EventId, from different Servers having different values of the ReceiveTime.

    The ReceiveTime shall always be returned as value and the Server is not allowed to return a StatusCode for the ReceiveTime indicating an error.

    method

    setReceiveTime

    Parameters

    Returns void

setRetain

  • setRetain(retainFlag: boolean): void
  • method

    setRetain

    Parameters

    • retainFlag: boolean

    Returns void

setSeverity

  • setSeverity(severity: number): void
  • method

    setSeverity

    Parameters

    • severity: number

    Returns void

setShelvingState

  • setShelvingState(): void
  • Returns void

setSuppressedState

  • setSuppressedState(suppressed: boolean): void
  • method

    setSuppressedState

    Parameters

    • suppressed: boolean

    Returns void

setTime

  • setTime(time: Date): void
  • (as per OPCUA 1.0.3 part 5) Time provides the time the Event occurred. This value is set as close to the event generator as possible. It often comes from the underlying system or device. Once set, intermediate OPC UA Servers shall not alter the value.

    method

    setTime

    Parameters

    • time: Date

    Returns void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc