public interface TwoStateDiscreteType extends DiscreteItemType
| Modifier and Type | Field and Description |
|---|---|
static QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> |
FALSE_STATE |
static QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> |
TRUE_STATE |
DEFINITION, VALUE_PRECISION| Modifier and Type | Method and Description |
|---|---|
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getFalseState()
Get the local value of the FalseState Node.
|
PropertyType |
getFalseStateNode()
Get the FalseState
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyType> |
getFalseStateNodeAsync()
Asynchronous implementation of
getFalseStateNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getTrueState()
Get the local value of the TrueState Node.
|
PropertyType |
getTrueStateNode()
Get the TrueState
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyType> |
getTrueStateNodeAsync()
Asynchronous implementation of
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
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
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
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
writeTrueState(LocalizedText). |
getDefinition, 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, setWriteMaskstatic final QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> FALSE_STATE
static final QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> TRUE_STATE
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getFalseState()
throws org.eclipse.milo.opcua.stack.core.UaException
The returned value is the last seen; it is not read live from the server.
org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the FalseState Node.void setFalseState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText falseState)
throws org.eclipse.milo.opcua.stack.core.UaException
The value is only updated locally; it is not written to the server.
falseState - 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.org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readFalseState()
throws org.eclipse.milo.opcua.stack.core.UaException
LocalizedText value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.void writeFalseState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText falseState)
throws org.eclipse.milo.opcua.stack.core.UaException
falseState - the LocalizedText value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readFalseStateAsync()
readFalseState().CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeFalseStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText falseState)
writeFalseState(LocalizedText).PropertyType getFalseStateNode() throws org.eclipse.milo.opcua.stack.core.UaException
PropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
PropertyType Node, or null if it does not exist.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.CompletableFuture<? extends PropertyType> getFalseStateNodeAsync()
getFalseStateNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getTrueState()
throws org.eclipse.milo.opcua.stack.core.UaException
The returned value is the last seen; it is not read live from the server.
org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TrueState Node.void setTrueState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText trueState)
throws org.eclipse.milo.opcua.stack.core.UaException
The value is only updated locally; it is not written to the server.
trueState - 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.org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readTrueState()
throws org.eclipse.milo.opcua.stack.core.UaException
LocalizedText value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.void writeTrueState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText trueState)
throws org.eclipse.milo.opcua.stack.core.UaException
trueState - the LocalizedText value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readTrueStateAsync()
readTrueState().CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTrueStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText trueState)
writeTrueState(LocalizedText).PropertyType getTrueStateNode() throws org.eclipse.milo.opcua.stack.core.UaException
PropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
PropertyType Node, or null if it does not exist.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.CompletableFuture<? extends PropertyType> getTrueStateNodeAsync()
getTrueStateNode().Copyright © 2021. All rights reserved.