Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

ackedState

ackedState: UATwoStateVariableEx

acknowledge

acknowledge: UAMethod

activeState

activeState: UATwoStateVariableEx

addComment

addComment: UAMethod

Optional audibleEnabled

audibleEnabled: UAProperty<boolean, Boolean>

Optional audibleSound

audibleSound: UAAudioVariable<Buffer>

Optional baseHighHighLimit

baseHighHighLimit: UAProperty<number, Double>

Optional baseHighLimit

baseHighLimit: UAProperty<number, Double>

Optional baseLowLimit

baseLowLimit: UAProperty<number, Double>

Optional baseLowLowLimit

baseLowLowLimit: UAProperty<number, Double>

Optional baseSetpointNode

baseSetpointNode: UAProperty<NodeId, NodeId>

branchId

Readonly browseName

browseName: QualifiedName

clientUserId

clientUserId: UAProperty<string, String>

comment

conditionClassId

conditionClassId: UAProperty<NodeId, NodeId>

conditionClassName

conditionClassName: UAProperty<LocalizedText, LocalizedText>

conditionName

conditionName: UAProperty<string, String>

conditionRefresh

conditionRefresh: UAMethod

conditionRefresh2

conditionRefresh2: UAMethod

Optional conditionSubClassId

conditionSubClassId: UAProperty<NodeId[], NodeId>

Optional conditionSubClassName

conditionSubClassName: UAProperty<LocalizedText[], LocalizedText>

Optional confirm

confirm: UAMethod

Optional confirmedState

confirmedState: UATwoStateVariableEx

disable

disable: UAMethod

enable

enable: UAMethod

enabledState

enabledState: UATwoStateVariableEx

eventId

eventId: UAProperty<Buffer, ByteString>

Readonly eventNotifier

eventNotifier: number

eventType

eventType: UAProperty<NodeId, NodeId>

Optional firstInGroup

firstInGroup: UAAlarmGroup

Optional firstInGroupFlag

firstInGroupFlag: UABaseDataVariable<boolean, Boolean>

Optional highHighLimit

highHighLimit: UAProperty<number, Double>

Optional highHighState

highHighState: UATwoStateVariableEx

Optional highLimit

highLimit: UAProperty<number, Double>

Optional highState

highState: UATwoStateVariableEx

inputNode

inputNode: UAProperty<NodeId, NodeId>

lastSeverity

lastSeverity: UAConditionVariable<number, UInt16>

Optional latchedState

latchedState: UATwoStateVariableEx

Optional localTime

Optional lowLimit

lowLimit: UAProperty<number, Double>

Optional lowLowLimit

lowLowLimit: UAProperty<number, Double>

Optional lowLowState

lowLowState: UATwoStateVariableEx

Optional lowState

lowState: UATwoStateVariableEx

Optional maxTimeShelved

maxTimeShelved: UAProperty<number, Double>

message

Readonly nodeClass

nodeClass: Object = ...

Readonly nodeId

nodeId: NodeId

Optional nodeVersion

nodeVersion: UAVariableT<string, String>

NodeVersion (Optional) String The NodeVersion Property is used to indicate the version of a Node. The NodeVersion Property is updated each time a Reference is added or deleted to the Node the Property belongs to. Attribute value changes do not cause the NodeVersion to change. Clients may read the NodeVersion Property or subscribe to it to determine when the structure of a Node has changed.

Optional offDelay

offDelay: UAProperty<number, Double>

Optional onDelay

onDelay: UAProperty<number, Double>

Optional onFirstBrowseAction

onFirstBrowseAction: () => Promise<void>

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

Optional outOfServiceState

outOfServiceState: UATwoStateVariableEx

Optional placeInService

placeInService: UAMethod

quality

Optional reAlarmRepeatCount

reAlarmRepeatCount: UABaseDataVariable<number, Int16>

Optional reAlarmTime

reAlarmTime: UAProperty<number, Double>

receiveTime

receiveTime: UAProperty<Date, DateTime>

Optional removeFromService

removeFromService: UAMethod

Optional reset

reset: UAMethod

retain

retain: UAProperty<boolean, Boolean>

setpointNode

setpointNode: UAVariableT<NodeId, NodeId>

setpointNodeNode

setpointNodeNode: UAVariable

severity

severity: UAProperty<number, UInt16>

Optional shelvingState

shelvingState: UAShelvedStateMachineEx

Optional silence

silence: UAMethod

Optional silenceState

silenceState: UATwoStateVariableEx

sourceName

sourceName: UAProperty<string, String>

sourceNode

sourceNode: UAProperty<NodeId, NodeId>

Optional suppress

suppress: UAMethod

suppressedOrShelved

suppressedOrShelved: UAProperty<boolean, Boolean>

Optional suppressedState

suppressedState: UATwoStateVariableEx

Readonly symbolicName

symbolicName: string

time

time: UAProperty<Date, DateTime>

Optional unsuppress

unsuppress: UAMethod

Static MaxDuration

MaxDuration: number

Static defaultSeverity

defaultSeverity: number

Static typeDefinition

typeDefinition: NodeId

Accessors

accessRestrictions

addressSpace

  • get addressSpace(): AddressSpace
  • Returns AddressSpace

description

  • Returns LocalizedText

displayName

  • Returns LocalizedText[]

fromStateNode

  • Returns BaseNode

hasMethods

  • get hasMethods(): boolean

isFalseSubStateOf

  • property

    isFalseSubStateOf

    Returns BaseNode

isTrueSubStateOf

  • property

    isTrueSubStateOf

    Returns BaseNode

modellingRule

  • property

    modellingRule

    Returns ModellingRuleType

namespace

  • Returns INamespace

namespaceIndex

  • get namespaceIndex(): number
  • namespace index

    Returns number

namespaceUri

  • get namespaceUri(): string
  • namespace uri

    Returns string

parent

  • the parent node

    Returns BaseNode

parentNodeId

  • Returns NodeId

rolePermissions

  • Returns RolePermissionType[]

toStateNode

  • Returns BaseNode

typeDefinition

  • get typeDefinition(): NodeId
  • returns the nodeId of this node's Type Definition

    Returns NodeId

typeDefinitionObj

  • Returns UAObjectType

Methods

_acknowledge_branch

_assert_valid

  • _assert_valid(): void

_bubble_up_event

_calculateConditionInfo

  • Parameters

    • states: string
    • isActive: boolean
    • value: string
    • oldConditionInfo: ConditionInfo

    Returns ConditionInfo

    the new condition info

    this method need to be overridden by the instantiate to allow custom message and severity to be set based on specific context of the alarm.

_conditionRefresh

  • _conditionRefresh(_cache?: ConditionRefreshCache): void

_install_setpoint

  • _install_setpoint(options: any): any
  • Parameters

    • options: any

    Returns any

_onInputDataValueChange

  • _onInputDataValueChange(dataValue: DataValue): void

_onSetpointDataValueChange

  • _onSetpointDataValueChange(dataValue: DataValue): void

_on_child_added

  • _on_child_added(): void

_on_child_removed

  • _on_child_removed(obj: BaseNode): void

_raiseAuditConditionAcknowledgeEvent

_raiseAuditConditionConfirmEvent

_resend_conditionEvents

  • _resend_conditionEvents(): 0 | 1

_setStateBasedOnInputValue

  • _setStateBasedOnInputValue(value: number): void

_signalInitialCondition

  • _signalInitialCondition(): void

_signalNewCondition

  • _signalNewCondition(stateName: string, isActive?: boolean, value?: string): void
  • Parameters

    • stateName: string
    • Optional isActive: boolean
    • Optional value: string

    Returns void

_signalNewCondition2

  • _signalNewCondition2(states: {}, isActive: boolean, value: string): void
  • Parameters

    • states: {}
      • [key: string]: string
    • isActive: boolean
    • value: string

    Returns void

acknowledgeAndAutoConfirmBranch

activateAlarm

  • activateAlarm(): void

addReference

  • method

    addReference

    example
    view.addReference({ referenceType: "Organizes", nodeId: myDevice });
    

    or

    myDevice1.addReference({ referenceType: "OrganizedBy", nodeId: view });
    

    Parameters

    Returns void

allReferences

autoConfirmBranch

browseNode

browseNodeByTargetName

clone

conditionOfNode

createBranch

currentBranch

deactivateAlarm

  • deactivateAlarm(): void

deleteBranch

desactivateAlarm

  • desactivateAlarm(): void
  • deprecated

    use deactivateAlarm instead (with no s after de-activate)

    Returns void

dispose

  • dispose(): void
  • the dispose method should be called when the node is no longer used, to release back pointer to the address space and clear caches.

    Returns void

dumpXML

  • dumpXML(xmlWriter: XmlWriter): void

findHierarchicalReferences

findReference

  • 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

findReferences

  • 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[]

findReferencesAsObject

  • 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[]

findReferencesEx

findReferencesExAsObject

fullName

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

    Returns string

getAccessRestrictions

  • 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

getAggregates

getBranchCount

  • getBranchCount(): number

getBranchIds

getBranches

getChildByName

getComponentByName

getComponents

getCurrentConditionInfo

getDisplayName

  • getDisplayName(locale?: string): string

getEnabledState

  • getEnabledState(): boolean

getEnabledStateAsString

  • getEnabledStateAsString(): string

getEventSourceOfs

getEventSources

getFalseSubStates

getFolderElementByName

getFolderElements

  • getFolderElements(): BaseNodeImpl[]

getHighHighLimit

  • getHighHighLimit(): number

getHighLimit

  • getHighLimit(): number

getInputNodeNode

  • method

    getInputNodeNode

    Returns UAVariable

    return the node in the address space pointed by the inputNode value

    Note: please note the difference between alarm.inputNode

    • alarm.inputNode is a UAVariable property of the alarm object holding the nodeid of the input node in its value.
    • getInputNodeNode() is the UAVariable that contains the value that affects the state of the alarm and whose node id is stored in alarm.inputNode

getInputNodeValue

  • getInputNodeValue(): any

getLowLimit

  • getLowLimit(): number

getLowLowLimit

  • getLowLowLimit(): number

getMaxTimeShelved

  • getMaxTimeShelved(): number

getMethodById

getMethodByName

getMethods

getNotifiers

getProperties

getPropertyByName

getRolePermissions

getSetpointNodeNode

getSetpointValue

  • getSetpointValue(): number

getSuppressedOrShelved

  • getSuppressedOrShelved(): boolean

getTrueSubStates

getUserWriteMask

  • getUserWriteMask(): number

getWriteMask

  • getWriteMask(): number

installPostInstallFunc

  • installPostInstallFunc(f: () => void): void

install_extra_properties

  • install_extra_properties(): void

isSuppressedOrShelved

  • isSuppressedOrShelved(): boolean

on

ownReferences

propagate_back_references

  • propagate_back_references(): void
  • this methods propagates the forward references to the pointed node by inserting backward references to the counter part node

    Returns void

raiseConditionEvent

  • method

    raiseConditionEvent Raise a Instance Event (see also UAObject#raiseEvent to raise a transient event)

    Parameters

    • branch: ConditionSnapshot

      the condition branch to raise

    • renewEventId: boolean

      true if event Id of the condition branch should be renewed

    Returns void

raiseEvent

raiseNewBranchState

raiseNewCondition

  • raiseNewCondition(conditionInfo: ConditionInfoOptions): void
  • method

    raiseNewCondition

    Parameters

    • conditionInfo: ConditionInfoOptions

    Returns void

readAttribute

removeReference

resolveNodeId

setAccessRestrictions

setDescription

setDisplayName

setHighHighLimit

  • setHighHighLimit(value: number): void

setHighLimit

  • setHighLimit(value: number): void
  • method

    setHighLimit

    Parameters

    • value: number

    Returns void

setLocalTime

setLowLimit

  • setLowLimit(value: number): void
  • method

    setLowLimit

    Parameters

    • value: number

    Returns void

setLowLowLimit

  • setLowLowLimit(value: number): void

setMaxTimeShelved

  • setMaxTimeShelved(duration: number): void
  • note: duration must be greater than 10ms and lesser than 2**31 ms

    Parameters

    • duration: number

    Returns void

setReceiveTime

  • setReceiveTime(time: Date): void

setRolePermissions

setSourceName

  • setSourceName(name: string): void

setSourceNode

setTime

  • setTime(time: Date): void
  • method

    setTime

    Parameters

    • time: Date

    Returns void

toString

  • toString(): string

uninstall_extra_properties

  • uninstall_extra_properties(reference: UAReference): void

unpropagate_back_references

  • unpropagate_back_references(): void

updateState

  • updateState(): void

writeAttribute

Static install_condition_refresh_handle

  • install_condition_refresh_handle(addressSpace: AddressSpacePrivate): void

Static install_method_handle_on_type

  • install_method_handle_on_type(addressSpace: AddressSpacePrivate): void

Static instantiate

Static makeAttributeEventName

Static with_condition_method

Generated using TypeDoc