public class TwoStateDiscreteTypeNode extends DiscreteItemTypeNode implements TwoStateDiscreteType
FALSE_STATE, TRUE_STATEDEFINITION, VALUE_PRECISION| Constructor and Description |
|---|
TwoStateDiscreteTypeNode(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.DataValue value,
org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType,
Integer valueRank,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel,
Double minimumSamplingInterval,
Boolean historizing) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getFalseState()
Get the local value of the FalseState Node.
|
PropertyTypeNode |
getFalseStateNode()
Get the FalseState
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getFalseStateNodeAsync()
Asynchronous implementation of
TwoStateDiscreteType.getFalseStateNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getTrueState()
Get the local value of the TrueState Node.
|
PropertyTypeNode |
getTrueStateNode()
Get the TrueState
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getTrueStateNodeAsync()
Asynchronous implementation of
TwoStateDiscreteType.getTrueStateNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
readFalseState()
Read the value of the FalseState Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> |
readFalseStateAsync()
An asynchronous implementation of
TwoStateDiscreteType.readFalseState(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
readTrueState()
Read the value of the TrueState Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> |
readTrueStateAsync()
An asynchronous implementation of
TwoStateDiscreteType.readTrueState(). |
void |
setFalseState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText falseState)
Set the local value of the FalseState Node.
|
void |
setTrueState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText trueState)
Set the local value of the TrueState Node.
|
void |
writeFalseState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText falseState)
Write a new value for the FalseState Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeFalseStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText falseState)
An asynchronous implementation of
TwoStateDiscreteType.writeFalseState(LocalizedText). |
void |
writeTrueState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText trueState)
Write a new value for the TrueState Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeTrueStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText trueState)
An asynchronous implementation of
TwoStateDiscreteType.writeTrueState(LocalizedText). |
getDefinition, getDefinitionNode, getDefinitionNodeAsync, getValuePrecision, getValuePrecisionNode, getValuePrecisionNodeAsync, readDefinition, readDefinitionAsync, readValuePrecision, readValuePrecisionAsync, setDefinition, setValuePrecision, writeDefinition, writeDefinitionAsync, writeValuePrecision, writeValuePrecisionAsyncgetAccessLevel, getArrayDimensions, getAttributeValue, getDataType, getHistorizing, getMinimumSamplingInterval, getTypeDefinition, getTypeDefinitionAsync, getUserAccessLevel, getValue, getValueRank, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readAccessLevel, readAllowNullsAsync, readArrayDimensions, readDataType, readDataTypeVersionAsync, readDictionaryFragmentAsync, readEngineeringUnitsAsync, readHistorizing, readLocalTimeAsync, readMaxArrayLengthAsync, readMaxStringLengthAsync, readMinimumSamplingInterval, readNodeVersionAsync, readUserAccessLevel, readValue, readValueAsTextAsync, readValueRank, setAccessLevel, setArrayDimensions, setAttributeValue, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValue, setValueRank, writeAccessLevel, writeAllowNullsAsync, writeArrayDimensions, writeDataType, writeDataTypeVersionAsync, writeDictionaryFragmentAsync, writeEngineeringUnitsAsync, writeHistorizing, writeLocalTimeAsync, writeMaxArrayLengthAsync, writeMaxStringLengthAsync, writeMinimumSamplingInterval, writeNodeVersionAsync, writeUserAccessLevel, writeValue, writeValue, writeValueAsTextAsync, writeValueRankbrowse, 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, waitgetDefinition, getDefinitionNode, getDefinitionNodeAsync, getValuePrecision, getValuePrecisionNode, getValuePrecisionNodeAsync, readDefinition, readDefinitionAsync, readValuePrecision, readValuePrecisionAsync, setDefinition, setValuePrecision, writeDefinition, writeDefinitionAsync, writeValuePrecision, writeValuePrecisionAsyncgetAccessLevel, getArrayDimensions, getDataType, getHistorizing, getMinimumSamplingInterval, getUserAccessLevel, getValue, getValueRank, setAccessLevel, setArrayDimensions, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValueRankgetBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMaskpublic TwoStateDiscreteTypeNode(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.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing)
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getFalseState()
throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypeThe returned value is the last seen; it is not read live from the server.
getFalseState in interface TwoStateDiscreteTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the FalseState Node.public void setFalseState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText falseState)
throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypeThe value is only updated locally; it is not written to the server.
setFalseState in interface TwoStateDiscreteTypefalseState - the local value to set for the FalseState Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the FalseState Node.public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readFalseState()
throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypereadFalseState in interface TwoStateDiscreteTypeLocalizedText value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeFalseState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText falseState)
throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypewriteFalseState in interface TwoStateDiscreteTypefalseState - 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> readFalseStateAsync()
TwoStateDiscreteTypeTwoStateDiscreteType.readFalseState().readFalseStateAsync in interface TwoStateDiscreteTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeFalseStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText falseState)
TwoStateDiscreteTypeTwoStateDiscreteType.writeFalseState(LocalizedText).writeFalseStateAsync in interface TwoStateDiscreteTypepublic PropertyTypeNode getFalseStateNode() throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getFalseStateNode in interface TwoStateDiscreteTypePropertyType 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 PropertyTypeNode> getFalseStateNodeAsync()
TwoStateDiscreteTypeTwoStateDiscreteType.getFalseStateNode().getFalseStateNodeAsync in interface TwoStateDiscreteTypepublic org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getTrueState()
throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypeThe returned value is the last seen; it is not read live from the server.
getTrueState in interface TwoStateDiscreteTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TrueState Node.public void setTrueState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText trueState)
throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypeThe value is only updated locally; it is not written to the server.
setTrueState in interface TwoStateDiscreteTypetrueState - the local value to set for the TrueState Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TrueState Node.public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readTrueState()
throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypereadTrueState in interface TwoStateDiscreteTypeLocalizedText value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeTrueState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText trueState)
throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypewriteTrueState in interface TwoStateDiscreteTypetrueState - 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> readTrueStateAsync()
TwoStateDiscreteTypeTwoStateDiscreteType.readTrueState().readTrueStateAsync in interface TwoStateDiscreteTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTrueStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText trueState)
TwoStateDiscreteTypeTwoStateDiscreteType.writeTrueState(LocalizedText).writeTrueStateAsync in interface TwoStateDiscreteTypepublic PropertyTypeNode getTrueStateNode() throws org.eclipse.milo.opcua.stack.core.UaException
TwoStateDiscreteTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getTrueStateNode in interface TwoStateDiscreteTypePropertyType 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 PropertyTypeNode> getTrueStateNodeAsync()
TwoStateDiscreteTypeTwoStateDiscreteType.getTrueStateNode().getTrueStateNodeAsync in interface TwoStateDiscreteTypeCopyright © 2021. All rights reserved.