Class AcknowledgeableConditionNode
- java.lang.Object
-
- com.plccom.opc.ua.client.application.model.nodes.UaNode
-
- com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.BaseObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.BaseEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.ConditionNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AcknowledgeableConditionNode
-
- Direct Known Subclasses:
AlarmConditionNode
public class AcknowledgeableConditionNode extends ConditionNode
PLCcom sdk AcknowledgeableConditionNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description AcknowledgeableConditionNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)Standard constructor for a AcknowledgeableConditionNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.plccom.opc.ua.builtintypes.LocalizedTextgetAcknowledgeableState()returns the acknowledgeable state of nodecom.plccom.opc.ua.builtintypes.LocalizedTextgetConfirmedState()returns the confirmed state of nodecom.plccom.opc.ua.builtintypes.LocalizedTextgetEnabledState()returns the enabled state of nodecom.plccom.opc.ua.builtintypes.StatusCodesetAcknowledgeableState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the acknowledgeable statecom.plccom.opc.ua.builtintypes.StatusCodesetConfirmedState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the confirmed statecom.plccom.opc.ua.builtintypes.StatusCodesetEnabledState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the enable state-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.ConditionNode
getBranchId, getClientUserId, getComment, getConditionClassId, getConditionClassName, getConditionName, getLastSeverity, getQuality, getRetain, setBranchId, setClientUserId, setComment, setConditionClassId, setConditionClassName, setConditionName, setLastSeverity, setQuality, setRetain
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.BaseEventNode
getEventId, getEventType, getLocalTime, getMessage, getReceiveTime, getSeverity, getSourceName, getSourceNode, getTime, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSeverity, setSourceName, setSourceNode, setTime
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
browseObjectType, browseVariable, getEventNotifier, readEventNotifier, setEventNotifier, writeEventNotifier
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaNode
getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, readBrowseName, readDescription, readDisplayName, readNodeClass, readNodeId, readUserWriteMask, readWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMask, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeUserWriteMask, writeWriteMask
-
-
-
-
Constructor Detail
-
AcknowledgeableConditionNode
public AcknowledgeableConditionNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
Standard constructor for a AcknowledgeableConditionNode instances- Parameters:
client- a client instancenodeId- the based nodeId
-
-
Method Detail
-
getEnabledState
public com.plccom.opc.ua.builtintypes.LocalizedText getEnabledState() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the enabled state of node- Overrides:
getEnabledStatein classConditionNode- Returns:
- the enabled state
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication errorcom.plccom.opc.ua.encoding.DecodingException- throws if internal cast operation throws errors
-
setEnabledState
public com.plccom.opc.ua.builtintypes.StatusCode setEnabledState(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the enable state- Overrides:
setEnabledStatein classConditionNode- Parameters:
value- the enabled state- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication errorcom.plccom.opc.ua.common.ServiceFaultException
-
getAcknowledgeableState
public com.plccom.opc.ua.builtintypes.LocalizedText getAcknowledgeableState() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the acknowledgeable state of node- Returns:
- the acknowledgeable state
- Throws:
com.plccom.opc.ua.encoding.DecodingException- throws if internal cast operation throws errorscom.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setAcknowledgeableState
public com.plccom.opc.ua.builtintypes.StatusCode setAcknowledgeableState(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the acknowledgeable state- Parameters:
value- the acknowledgeable state- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getConfirmedState
public com.plccom.opc.ua.builtintypes.LocalizedText getConfirmedState() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the confirmed state of node- Returns:
- the confirmed state
- Throws:
com.plccom.opc.ua.encoding.DecodingException- throws if internal cast operation throws errorscom.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setConfirmedState
public com.plccom.opc.ua.builtintypes.StatusCode setConfirmedState(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the confirmed state- Parameters:
value- the confirmed state- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
-