Class ShelvedStateMachineNode
- 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
-
- com.plccom.opc.ua.client.application.model.nodes.objects.ShelvedStateMachineNode
-
public class ShelvedStateMachineNode extends FiniteStateMachineNode
PLCcom sdk ShelvedStateMachineNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description ShelvedStateMachineNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for ShelvedStateMachineNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateNodegetOneShotShelved()Returns the oneShotShelved valueTransitionNodegetOneShotShelvedToTimedShelved()Returns the oneShotShelvedToTimedShelved valueTransitionNodegetOneShotShelvedToUnshelved()Returns the oneShotShelvedToUnshelved valuecom.plccom.opc.ua.builtintypes.StatusCodegetSetUnshelveTime(Double value)Sets the attribute UNSHELVE_TIME of this node at connected ua server and refreshing the nodecacheStateNodegetTimedShelved()Returns the timedShelved valueTransitionNodegetTimedShelvedToOneShotShelved()Returns the timedShelvedToOneShotShelved valueTransitionNodegetTimedShelvedToUnshelved()Returns the timedShelvedToUnshelved valueStateNodegetUnshelved()Returns the unshelved valueTransitionNodegetUnshelvedToOneShotShelved()Returns the unshelvedToOneShotShelved valueTransitionNodegetUnshelvedToTimedShelved()Returns the unshelvedToTimedShelved valueDoublegetUnshelveTime()Returns the attribute UNSHELVE_TIME from cache or directly from connected ua server-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.FiniteStateMachineNode
getCurrentState, getLastTransition, setCurrentState, setLastTransition
-
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
-
ShelvedStateMachineNode
public ShelvedStateMachineNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for ShelvedStateMachineNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getUnshelveTime
public Double getUnshelveTime() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute UNSHELVE_TIME from cache or directly from connected ua server- Returns:
- the UNSHELVE_TIME attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getSetUnshelveTime
public com.plccom.opc.ua.builtintypes.StatusCode getSetUnshelveTime(Double value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute UNSHELVE_TIME of this node at connected ua server and refreshing the nodecache- Parameters:
value- the UNSHELVE_TIME attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getUnshelved
public StateNode getUnshelved() throws com.plccom.opc.ua.common.ServiceResultException
Returns the unshelved value- Returns:
- the unshelved value
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getTimedShelved
public StateNode getTimedShelved() throws com.plccom.opc.ua.common.ServiceResultException
Returns the timedShelved value- Returns:
- the timedShelved value
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getOneShotShelved
public StateNode getOneShotShelved() throws com.plccom.opc.ua.common.ServiceResultException
Returns the oneShotShelved value- Returns:
- the oneShotShelved value
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getUnshelvedToTimedShelved
public TransitionNode getUnshelvedToTimedShelved() throws com.plccom.opc.ua.common.ServiceResultException
Returns the unshelvedToTimedShelved value- Returns:
- the unshelvedToTimedShelved value
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getUnshelvedToOneShotShelved
public TransitionNode getUnshelvedToOneShotShelved() throws com.plccom.opc.ua.common.ServiceResultException
Returns the unshelvedToOneShotShelved value- Returns:
- the unshelvedToOneShotShelved value
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getTimedShelvedToUnshelved
public TransitionNode getTimedShelvedToUnshelved() throws com.plccom.opc.ua.common.ServiceResultException
Returns the timedShelvedToUnshelved value- Returns:
- the timedShelvedToUnshelved value
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getTimedShelvedToOneShotShelved
public TransitionNode getTimedShelvedToOneShotShelved() throws com.plccom.opc.ua.common.ServiceResultException
Returns the timedShelvedToOneShotShelved value- Returns:
- the timedShelvedToOneShotShelved value
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getOneShotShelvedToUnshelved
public TransitionNode getOneShotShelvedToUnshelved() throws com.plccom.opc.ua.common.ServiceResultException
Returns the oneShotShelvedToUnshelved value- Returns:
- the oneShotShelvedToUnshelved value
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getOneShotShelvedToTimedShelved
public TransitionNode getOneShotShelvedToTimedShelved() throws com.plccom.opc.ua.common.ServiceResultException
Returns the oneShotShelvedToTimedShelved value- Returns:
- the oneShotShelvedToTimedShelved value
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-