public class FiniteStateMachineTypeNode extends StateMachineTypeNode implements FiniteStateMachineType
| Constructor and Description |
|---|
FiniteStateMachineTypeNode(OpcUaClient client,
org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId,
org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass,
org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName,
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName,
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getCurrentState()
Get the local value of the CurrentState Node.
|
FiniteStateVariableTypeNode |
getCurrentStateNode()
Get the CurrentState
StateVariableType Node, or null if it does not exist. |
CompletableFuture<? extends FiniteStateVariableTypeNode> |
getCurrentStateNodeAsync()
Asynchronous implementation of
StateMachineType.getCurrentStateNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getLastTransition()
Get the local value of the LastTransition Node.
|
FiniteTransitionVariableTypeNode |
getLastTransitionNode()
Get the LastTransition
TransitionVariableType Node, or null if it does not exist. |
CompletableFuture<? extends FiniteTransitionVariableTypeNode> |
getLastTransitionNodeAsync()
Asynchronous implementation of
StateMachineType.getLastTransitionNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
readCurrentState()
Read the value of the CurrentState Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> |
readCurrentStateAsync()
An asynchronous implementation of
StateMachineType.readCurrentState(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
readLastTransition()
Read the value of the LastTransition Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> |
readLastTransitionAsync()
An asynchronous implementation of
StateMachineType.readLastTransition(). |
void |
setCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText currentState)
Set the local value of the CurrentState Node.
|
void |
setLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText lastTransition)
Set the local value of the LastTransition Node.
|
void |
writeCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText currentState)
Write a new value for the CurrentState Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeCurrentStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText currentState)
An asynchronous implementation of
StateMachineType.writeCurrentState(LocalizedText). |
void |
writeLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText lastTransition)
Write a new value for the LastTransition Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeLastTransitionAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText lastTransition)
An asynchronous implementation of
StateMachineType.writeLastTransition(LocalizedText). |
callMethod, callMethod, callMethodAsync, callMethodAsync, getAttributeValue, getEventNotifier, getIcon, getMethod, getMethod, getMethodAsync, getMethodAsync, getNamingRuleAsync, getNodeVersion, getObjectComponent, getObjectComponent, getObjectComponent, getObjectComponentAsync, getObjectComponentAsync, getObjectComponentAsync, getTypeDefinition, getTypeDefinitionAsync, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readEventNotifier, setAttributeValue, setEventNotifier, setIcon, setNamingRuleAsync, setNodeVersion, writeEventNotifierbrowse, browse, browseAsync, browseAsync, browseNodes, browseNodes, browseNodesAsync, browseNodesAsync, canonicalize, cast, findMemberNodeId, getBrowseName, getComponentAsync, getDescription, getDisplayName, getMemberNodeAsync, getNodeClass, getNodeId, getProperty, getPropertyNodeAsync, getPropertyNodeAsync, getUserWriteMask, getWriteMask, invalidate, readAttribute, readAttributeAsync, readBrowseName, readDescription, readDisplayName, readNamespaceIndex, readNodeClass, readNodeId, readProperty, readUserWriteMask, readWriteMask, refresh, refreshAsync, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setUserWriteMask, setWriteMask, synchronize, synchronizeAsync, writeAttribute, writeAttributeAsync, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeProperty, writeUserWriteMask, writeWriteMaskclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventNotifier, setEventNotifiergetBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMaskpublic FiniteStateMachineTypeNode(OpcUaClient client, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass, org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getCurrentState()
throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypeThe returned value is the last seen; it is not read live from the server.
getCurrentState in interface FiniteStateMachineTypegetCurrentState in interface StateMachineTypegetCurrentState in class StateMachineTypeNodeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the CurrentState Node.public void setCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText currentState)
throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypeThe value is only updated locally; it is not written to the server.
setCurrentState in interface FiniteStateMachineTypesetCurrentState in interface StateMachineTypesetCurrentState in class StateMachineTypeNodecurrentState - the local value to set for the CurrentState Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the CurrentState Node.public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readCurrentState()
throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypereadCurrentState in interface FiniteStateMachineTypereadCurrentState in interface StateMachineTypereadCurrentState in class StateMachineTypeNodeLocalizedText value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText currentState)
throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypewriteCurrentState in interface FiniteStateMachineTypewriteCurrentState in interface StateMachineTypewriteCurrentState in class StateMachineTypeNodecurrentState - the LocalizedText value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readCurrentStateAsync()
StateMachineTypeStateMachineType.readCurrentState().readCurrentStateAsync in interface FiniteStateMachineTypereadCurrentStateAsync in interface StateMachineTypereadCurrentStateAsync in class StateMachineTypeNodepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeCurrentStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText currentState)
StateMachineTypeStateMachineType.writeCurrentState(LocalizedText).writeCurrentStateAsync in interface FiniteStateMachineTypewriteCurrentStateAsync in interface StateMachineTypewriteCurrentStateAsync in class StateMachineTypeNodepublic FiniteStateVariableTypeNode getCurrentStateNode() throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypeStateVariableType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getCurrentStateNode in interface FiniteStateMachineTypegetCurrentStateNode in interface StateMachineTypegetCurrentStateNode in class StateMachineTypeNodeStateVariableType Node, or null if it does not exist.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.public CompletableFuture<? extends FiniteStateVariableTypeNode> getCurrentStateNodeAsync()
StateMachineTypeStateMachineType.getCurrentStateNode().getCurrentStateNodeAsync in interface FiniteStateMachineTypegetCurrentStateNodeAsync in interface StateMachineTypegetCurrentStateNodeAsync in class StateMachineTypeNodepublic org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getLastTransition()
throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypeThe returned value is the last seen; it is not read live from the server.
getLastTransition in interface FiniteStateMachineTypegetLastTransition in interface StateMachineTypegetLastTransition in class StateMachineTypeNodeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastTransition Node.public void setLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText lastTransition)
throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypeThe value is only updated locally; it is not written to the server.
setLastTransition in interface FiniteStateMachineTypesetLastTransition in interface StateMachineTypesetLastTransition in class StateMachineTypeNodelastTransition - the local value to set for the LastTransition Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastTransition Node.public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readLastTransition()
throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypereadLastTransition in interface FiniteStateMachineTypereadLastTransition in interface StateMachineTypereadLastTransition in class StateMachineTypeNodeLocalizedText value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText lastTransition)
throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypewriteLastTransition in interface FiniteStateMachineTypewriteLastTransition in interface StateMachineTypewriteLastTransition in class StateMachineTypeNodelastTransition - the LocalizedText value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readLastTransitionAsync()
StateMachineTypeStateMachineType.readLastTransition().readLastTransitionAsync in interface FiniteStateMachineTypereadLastTransitionAsync in interface StateMachineTypereadLastTransitionAsync in class StateMachineTypeNodepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeLastTransitionAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText lastTransition)
StateMachineTypeStateMachineType.writeLastTransition(LocalizedText).writeLastTransitionAsync in interface FiniteStateMachineTypewriteLastTransitionAsync in interface StateMachineTypewriteLastTransitionAsync in class StateMachineTypeNodepublic FiniteTransitionVariableTypeNode getLastTransitionNode() throws org.eclipse.milo.opcua.stack.core.UaException
StateMachineTypeTransitionVariableType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getLastTransitionNode in interface FiniteStateMachineTypegetLastTransitionNode in interface StateMachineTypegetLastTransitionNode in class StateMachineTypeNodeTransitionVariableType Node, or null if it does not exist.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.public CompletableFuture<? extends FiniteTransitionVariableTypeNode> getLastTransitionNodeAsync()
StateMachineTypeStateMachineType.getLastTransitionNode().getLastTransitionNodeAsync in interface FiniteStateMachineTypegetLastTransitionNodeAsync in interface StateMachineTypegetLastTransitionNodeAsync in class StateMachineTypeNodeCopyright © 2021. All rights reserved.