public class StateMachineTypeNode extends BaseObjectTypeNode implements StateMachineType
| Constructor and Description |
|---|
StateMachineTypeNode(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.
|
StateVariableTypeNode |
getCurrentStateNode()
Get the CurrentState
StateVariableType Node, or null if it does not exist. |
CompletableFuture<? extends StateVariableTypeNode> |
getCurrentStateNodeAsync()
Asynchronous implementation of
StateMachineType.getCurrentStateNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getLastTransition()
Get the local value of the LastTransition Node.
|
TransitionVariableTypeNode |
getLastTransitionNode()
Get the LastTransition
TransitionVariableType Node, or null if it does not exist. |
CompletableFuture<? extends TransitionVariableTypeNode> |
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 StateMachineTypeNode(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 StateMachineTypeorg.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 StateMachineTypecurrentState - 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 StateMachineTypeLocalizedText 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 StateMachineTypecurrentState - 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 StateMachineTypepublic 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 StateMachineTypepublic StateVariableTypeNode 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 StateMachineTypeStateVariableType 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 StateVariableTypeNode> getCurrentStateNodeAsync()
StateMachineTypeStateMachineType.getCurrentStateNode().getCurrentStateNodeAsync in interface StateMachineTypepublic 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 StateMachineTypeorg.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 StateMachineTypelastTransition - 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 StateMachineTypeLocalizedText 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 StateMachineTypelastTransition - 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 StateMachineTypepublic 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 StateMachineTypepublic TransitionVariableTypeNode 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 StateMachineTypeTransitionVariableType 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 TransitionVariableTypeNode> getLastTransitionNodeAsync()
StateMachineTypeStateMachineType.getLastTransitionNode().getLastTransitionNodeAsync in interface StateMachineTypeCopyright © 2021. All rights reserved.