public class MultiStateValueDiscreteTypeNode extends DiscreteItemTypeNode implements MultiStateValueDiscreteType
ENUM_VALUES, VALUE_AS_TEXTDEFINITION, VALUE_PRECISION| Constructor and Description |
|---|
MultiStateValueDiscreteTypeNode(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.structured.EnumValueType[] |
getEnumValues()
Get the local value of the EnumValues Node.
|
PropertyTypeNode |
getEnumValuesNode()
Get the EnumValues
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getEnumValuesNodeAsync()
Asynchronous implementation of
MultiStateValueDiscreteType.getEnumValuesNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getValueAsText()
Get the local value of the ValueAsText Node.
|
PropertyTypeNode |
getValueAsTextNode()
Get the ValueAsText
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getValueAsTextNodeAsync()
Asynchronous implementation of
MultiStateValueDiscreteType.getValueAsTextNode(). |
org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] |
readEnumValues()
Read the value of the EnumValues Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[]> |
readEnumValuesAsync()
An asynchronous implementation of
MultiStateValueDiscreteType.readEnumValues(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
readValueAsText()
Read the value of the ValueAsText Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> |
readValueAsTextAsync()
Get the value of the
VariableNodeProperties.ValueAsText Property, if it exists. |
void |
setEnumValues(org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] enumValues)
Set the local value of the EnumValues Node.
|
void |
setValueAsText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText valueAsText)
Set the local value of the ValueAsText Node.
|
void |
writeEnumValues(org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] enumValues)
Write a new value for the EnumValues Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeEnumValuesAsync(org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] enumValues)
An asynchronous implementation of
MultiStateValueDiscreteType.writeEnumValues(EnumValueType[]). |
void |
writeValueAsText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText valueAsText)
Write a new value for the ValueAsText Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeValueAsTextAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText valueAsText)
Set the value of the
VariableNodeProperties.ValueAsText Property, if it exists. |
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, 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, 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 MultiStateValueDiscreteTypeNode(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.structured.EnumValueType[] getEnumValues()
throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypeThe returned value is the last seen; it is not read live from the server.
getEnumValues in interface MultiStateValueDiscreteTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EnumValues Node.public void setEnumValues(org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] enumValues)
throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypeThe value is only updated locally; it is not written to the server.
setEnumValues in interface MultiStateValueDiscreteTypeenumValues - the local value to set for the EnumValues Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EnumValues Node.public org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] readEnumValues()
throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypereadEnumValues in interface MultiStateValueDiscreteTypeEnumValueType[] value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeEnumValues(org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] enumValues)
throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypewriteEnumValues in interface MultiStateValueDiscreteTypeenumValues - the EnumValueType[] 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.structured.EnumValueType[]> readEnumValuesAsync()
MultiStateValueDiscreteTypeMultiStateValueDiscreteType.readEnumValues().readEnumValuesAsync in interface MultiStateValueDiscreteTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEnumValuesAsync(org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] enumValues)
MultiStateValueDiscreteTypeMultiStateValueDiscreteType.writeEnumValues(EnumValueType[]).writeEnumValuesAsync in interface MultiStateValueDiscreteTypepublic PropertyTypeNode getEnumValuesNode() throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getEnumValuesNode in interface MultiStateValueDiscreteTypePropertyType 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> getEnumValuesNodeAsync()
MultiStateValueDiscreteTypeMultiStateValueDiscreteType.getEnumValuesNode().getEnumValuesNodeAsync in interface MultiStateValueDiscreteTypepublic org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getValueAsText()
throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypeThe returned value is the last seen; it is not read live from the server.
getValueAsText in interface MultiStateValueDiscreteTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ValueAsText Node.public void setValueAsText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText valueAsText)
throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypeThe value is only updated locally; it is not written to the server.
setValueAsText in interface MultiStateValueDiscreteTypevalueAsText - the local value to set for the ValueAsText Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ValueAsText Node.public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readValueAsText()
throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypereadValueAsText in interface MultiStateValueDiscreteTypeLocalizedText value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeValueAsText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText valueAsText)
throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypewriteValueAsText in interface MultiStateValueDiscreteTypevalueAsText - 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> readValueAsTextAsync()
UaVariableNodeVariableNodeProperties.ValueAsText Property, if it exists.readValueAsTextAsync in interface MultiStateValueDiscreteTypereadValueAsTextAsync in class UaVariableNodeVariableNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeValueAsTextAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText valueAsText)
UaVariableNodeVariableNodeProperties.ValueAsText Property, if it exists.writeValueAsTextAsync in interface MultiStateValueDiscreteTypewriteValueAsTextAsync in class UaVariableNodevalueAsText - the value to set.CompletableFuture that completes with the StatusCode of the write operation.VariableNodePropertiespublic PropertyTypeNode getValueAsTextNode() throws org.eclipse.milo.opcua.stack.core.UaException
MultiStateValueDiscreteTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getValueAsTextNode in interface MultiStateValueDiscreteTypePropertyType 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> getValueAsTextNodeAsync()
MultiStateValueDiscreteTypeMultiStateValueDiscreteType.getValueAsTextNode().getValueAsTextNodeAsync in interface MultiStateValueDiscreteTypeCopyright © 2021. All rights reserved.