Class AlarmConditionNode
- 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
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AlarmConditionNode
-
- Direct Known Subclasses:
DiscreteAlarmNode,LimitAlarmNode
public class AlarmConditionNode extends AcknowledgeableConditionNode
PLCcom sdk AlarmConditionNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description AlarmConditionNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)Standard constructor for a AlarmConditionNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.plccom.opc.ua.builtintypes.LocalizedTextgetActiveState()returns the active state of nodecom.plccom.opc.ua.builtintypes.LocalizedTextgetEnabledState()returns the enabled state of nodecom.plccom.opc.ua.builtintypes.NodeIdgetInputNode()returns the INPUT_NODE of nodeDoublegetMaxTimeShelved()returns the MAX_TIME_SHELVED of nodeShelvedStateMachineNodegetShelvingState()returns the shelving state of nodeBooleangetSuppressedOrShelved()returns the SUPPRESSED_OR_SHELVED of nodecom.plccom.opc.ua.builtintypes.LocalizedTextgetSuppressedState()returns the suppressed state of nodecom.plccom.opc.ua.builtintypes.StatusCodesetActiveState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the active statecom.plccom.opc.ua.builtintypes.StatusCodesetEnabledState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the enabled statecom.plccom.opc.ua.builtintypes.StatusCodesetInputNode(com.plccom.opc.ua.builtintypes.NodeId value)Sets the input nodecom.plccom.opc.ua.builtintypes.StatusCodesetMaxTimeShelved(Double value)Sets max time shelvedcom.plccom.opc.ua.builtintypes.StatusCodesetSuppressedOrShelved(Boolean value)Sets suppressed or shelved statecom.plccom.opc.ua.builtintypes.StatusCodesetSuppressedState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the suppressed state-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.AcknowledgeableConditionNode
getAcknowledgeableState, getConfirmedState, setAcknowledgeableState, setConfirmedState
-
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
-
AlarmConditionNode
public AlarmConditionNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
Standard constructor for a AlarmConditionNode instances- Parameters:
client- a client instancenodeId- the based nodeId
-
-
Method Detail
-
getInputNode
public com.plccom.opc.ua.builtintypes.NodeId getInputNode() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the INPUT_NODE of node- Returns:
- the INPUT_NODE
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setInputNode
public com.plccom.opc.ua.builtintypes.StatusCode setInputNode(com.plccom.opc.ua.builtintypes.NodeId value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the input node- Parameters:
value- the input node- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getSuppressedOrShelved
public Boolean getSuppressedOrShelved() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
returns the SUPPRESSED_OR_SHELVED of node- Returns:
- the SUPPRESSED_OR_SHELVED
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setSuppressedOrShelved
public com.plccom.opc.ua.builtintypes.StatusCode setSuppressedOrShelved(Boolean value) throws com.plccom.opc.ua.common.ServiceResultException
Sets suppressed or shelved state- Parameters:
value- the suppressed or shelved state- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getMaxTimeShelved
public Double getMaxTimeShelved() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
returns the MAX_TIME_SHELVED of node- Returns:
- the MAX_TIME_SHELVED
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setMaxTimeShelved
public com.plccom.opc.ua.builtintypes.StatusCode setMaxTimeShelved(Double value) throws com.plccom.opc.ua.common.ServiceResultException
Sets max time shelved- Parameters:
value- max time shelved- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
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 classAcknowledgeableConditionNode- Returns:
- the enabled 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
-
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 enabled state- Overrides:
setEnabledStatein classAcknowledgeableConditionNode- Parameters:
value- the enabled 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
-
getActiveState
public com.plccom.opc.ua.builtintypes.LocalizedText getActiveState() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the active state of node- Returns:
- the active 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
-
setActiveState
public com.plccom.opc.ua.builtintypes.StatusCode setActiveState(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the active state- Parameters:
value- the active 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
-
getSuppressedState
public com.plccom.opc.ua.builtintypes.LocalizedText getSuppressedState() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the suppressed state of node- Returns:
- the suppressed 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
-
setSuppressedState
public com.plccom.opc.ua.builtintypes.StatusCode setSuppressedState(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the suppressed state- Parameters:
value- the suppressed 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
-
getShelvingState
public ShelvedStateMachineNode getShelvingState() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
returns the shelving state of node- Returns:
- the shelving 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
-
-