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

  • new UAExclusiveLimitAlarmImpl(options: InternalBaseNodeOptions & { eventNotifier?: number; symbolicName?: string }): UAExclusiveLimitAlarmImpl

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>

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 highLimit

highLimit: UAProperty<number, Double>

inputNode

inputNode: UAProperty<NodeId, NodeId>

lastSeverity

lastSeverity: UAConditionVariable<number, UInt16>

Optional latchedState

latchedState: UATwoStateVariableEx

limitState

Optional localTime

Optional lowLimit

lowLimit: UAProperty<number, Double>

Optional lowLowLimit

lowLowLimit: UAProperty<number, Double>

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>

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

  • Returns IAddressSpace

description

  • Returns LocalizedText

displayName

  • Returns LocalizedText[]

fromStateNode

  • Returns BaseNode

hasMethods

  • get hasMethods(): boolean
  • returns true if the object has some opcua methods

    Returns 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
  • Returns void

_bubble_up_event

_calculateConditionInfo

  • method

    _calculateConditionInfo

    example

    var myAlarm = addressSpace.instantiateExclusiveLimitAlarm({...}); myAlarm._calculateConditionInfo = function(stateName,value,oldCondition) { var percent = Math.ceil(value * 100); return new ConditionInfo({ message: "Tank is almost " + percent + "% full", severity: 100, quality: StatusCodes.Good }); };

    Parameters

    • stateData: string

      the new calculated state of the alarm

    • isActive: boolean
    • value: string

      the new value of the limit alarm

    • oldCondition: ConditionInfo

      given for information purpose

    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
  • Parameters

    • Optional _cache: ConditionRefreshCache

    Returns void

_onInputDataValueChange

  • _onInputDataValueChange(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
  • Parameters

    • value: number

    Returns void

_signalInitialCondition

  • _signalInitialCondition(): void

_signalNewCondition

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

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

    Returns void

acknowledgeAndAutoConfirmBranch

activateAlarm

  • activateAlarm(): void
  • Returns 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
  • Returns 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
  • Parameters

    • xmlWriter: XmlWriter

    Returns 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

  • find all the references that are of type reference or a sub type of reference, in the direction specified by browseDirection

    • BrowseDirection.Forward direction is implied if browseDirection flags is omitted.

    Parameters

    Returns UAReference[]

findReferencesExAsObject

  • find all the nodes that are referenced by references of type reference or a sub type of reference, in the direction specified by browseDirection

    • BrowseDirection.Forward direction is implied if browseDirection flags is omitted.

    Parameters

    Returns BaseNode[]

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

  • return an array with the Aggregates of this object.

    Returns BaseNode[]

getBranchCount

  • getBranchCount(): number
  • Returns number

getBranchIds

getBranches

getChildByName

getComponentByName

getComponents

  • return an array with the components of this object.

    Returns BaseNode[]

getCurrentConditionInfo

getDisplayName

  • getDisplayName(locale?: string): string
  • Parameters

    • Optional locale: string

    Returns string

getEnabledState

  • getEnabledState(): boolean
  • method

    getEnabledState

    Returns boolean

getEnabledStateAsString

  • getEnabledStateAsString(): string
  • method

    getEnabledStateAsString

    Returns string

getEventSourceOfs

  • return a array of the objects for which this node is an EventSource

    Returns BaseNode[]

getEventSources

getFalseSubStates

getFolderElementByName

getFolderElements

  • getFolderElements(): BaseNodeImpl[]
  • returns the list of nodes that this folder object organizes

    Returns BaseNodeImpl[]

getHighHighLimit

  • getHighHighLimit(): number
  • method

    getHighHighLimit

    Returns number

getHighLimit

  • getHighLimit(): number
  • method

    getHighLimit

    Returns 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
  • method

    getInputNodeValue

    Returns any

getLowLimit

  • getLowLimit(): number
  • method

    getLowLimit

    Returns number

getLowLowLimit

  • getLowLowLimit(): number
  • method

    getLowLowLimit

    Returns number

getMaxTimeShelved

  • getMaxTimeShelved(): number
  • note: return a Duration

    Returns number

getMethodById

  • returns the method exposed by this object and with the given nodeId

    Parameters

    Returns UAMethod

getMethodByName

getMethods

getNotifiers

  • return a array with the notifiers of this object.

    Returns BaseNode[]

getProperties

  • return a array with the properties of this object.

    Returns BaseNode[]

getPropertyByName

getRolePermissions

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
  • method

    setHighHighLimit

    Parameters

    • value: number

    Returns 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
  • method

    setLowLowLimit

    Parameters

    • value: number

    Returns 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
  • method

    setReceiveTime

    Parameters

    • time: Date

    Returns void

setRolePermissions

setSourceName

  • setSourceName(name: string): void
  • method

    setSourceName

    Parameters

    • name: string

    Returns void

setSourceNode

setTime

  • setTime(time: Date): void
  • method

    setTime

    Parameters

    • time: Date

    Returns void

toString

  • toString(): string
  • Returns string

uninstall_extra_properties

  • uninstall_extra_properties(reference: UAReference): void

unpropagate_back_references

  • unpropagate_back_references(): void

updateState

  • updateState(): void
  • Returns 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
  • Parameters

    • addressSpace: AddressSpacePrivate

    Returns void

Static instantiate

Static makeAttributeEventName

Static with_condition_method

Generated using TypeDoc