UAAcknowledgeableConditionBase Class
Extends UAConditionBase
Defined in:
Module: opcua.address_space.AlarmsAndConditions
packages\node-opcua-address-space\src\alarms_and_conditions\acknowledgeable_condition.js:93
Constructor
UAAcknowledgeableConditionBase
()
Item Index
Methods
- (static)UAAcknowledgeableConditionBase.instantiate
- _confirm_branch
- _setEnabledState
- acknowledgeAndAutoConfirmBranch
- autoConfirmBranch
- conditionOfNode
- createBranch
- deleteBranch
- getBranchCount
- getEnabledState
- getEnabledStateAsString
- initialize
- post_initialize
- raiseConditionEvent Raise a Instance Event (see also UAObject#raiseEvent to raise a transient event)
- setEnabledState
- setLocalTime
- setReceiveTime
- setTime
Properties
Events
Methods
(static)UAAcknowledgeableConditionBase.instantiate
(
UAAcknowledgeableConditionBase
-
addressSpace
-
conditionTypeId
-
options
-
data
Parameters:
-
addressSpace
AddressSpace -
conditionTypeId
String | NodeId -
options
Object -
data
Object
Returns:
_confirm_branch
(
private
-
eventId
-
comment
-
branch
-
message
Parameters:
-
eventId
Object -
comment
Object -
branch
Object -
message
Object
_setEnabledState
(
StatusCode
private
-
requestedEnabledState
Parameters:
-
requestedEnabledState
Boolean
Returns:
StatusCode:
StatusCodes.Good if successful or BadConditionAlreadyEnabled/BadConditionAlreadyDisabled
acknowledgeAndAutoConfirmBranch
(
-
branch
-
comment
Parameters:
-
branch
ConditionSnapshot -
comment
String | LocalizedText
autoConfirmBranch
(
-
branch
-
comment
Parameters:
-
branch
Object -
comment
Object
getBranchCount
()
Number
Returns:
Number:
getEnabledState
()
Boolean
Returns:
Boolean:
getEnabledStateAsString
()
String
Returns:
String:
initialize
()
private
post_initialize
()
private
raiseConditionEvent
Raise a Instance Event
(see also UAObject#raiseEvent to raise a transient event)
(
-
branch
Parameters:
-
branch
ConditionSnapshot
setEnabledState
(
private
-
requestedEnabledState
Parameters:
-
requestedEnabledState
Boolean
setLocalTime
(
-
time
Parameters:
-
time
Date
setReceiveTime
(
-
time
Parameters:
-
time
Date
setTime
(
-
time
Parameters:
-
time
Date
Properties
ackedState
TwoStateVariable
acknowledge
UAMethod
confirm
UAMethod
confirmedState
TwoStateVariable
Events
acknowledged
Event Payload:
-
eventId
Buffer | Null -
comment
LocalizedText -
branch
ConditionSnapshotraised when the alarm branch has been acknowledged
confirmed
Event Payload:
-
eventId
Object -
comment
Object -
eventId raised
Objectwhen the alarm branch has been confirmed