Class FiniteStateMachineNode
- 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.StateMachineNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.FiniteStateMachineNode
-
- Direct Known Subclasses:
ExclusiveLimitStateMachineNode,ProgramStateMachineNode,ShelvedStateMachineNode
public class FiniteStateMachineNode extends StateMachineNode
PLCcom sdk FiniteStateMachineNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description FiniteStateMachineNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for FiniteStateMachineNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.plccom.opc.ua.builtintypes.LocalizedTextgetCurrentState()Returns the CurrentState objectcom.plccom.opc.ua.builtintypes.LocalizedTextgetLastTransition()Returns the LastTransition objectcom.plccom.opc.ua.builtintypes.StatusCodesetCurrentState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the CurrentState objectcom.plccom.opc.ua.builtintypes.StatusCodesetLastTransition(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the LastTransition object-
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
-
FiniteStateMachineNode
public FiniteStateMachineNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for FiniteStateMachineNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getCurrentState
public com.plccom.opc.ua.builtintypes.LocalizedText getCurrentState() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the CurrentState object- Overrides:
getCurrentStatein classStateMachineNode- Returns:
- the CurrentState
- 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
-
setCurrentState
public com.plccom.opc.ua.builtintypes.StatusCode setCurrentState(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the CurrentState object- Overrides:
setCurrentStatein classStateMachineNode- Parameters:
value- the new CurrentState- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getLastTransition
public com.plccom.opc.ua.builtintypes.LocalizedText getLastTransition() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the LastTransition object- Overrides:
getLastTransitionin classStateMachineNode- Returns:
- the LastTransition
- 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
-
setLastTransition
public com.plccom.opc.ua.builtintypes.StatusCode setLastTransition(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the LastTransition object- Overrides:
setLastTransitionin classStateMachineNode- Parameters:
value- the new LastTransition- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
-