public class OptionSetTypeNode extends BaseDataVariableTypeNode implements OptionSetType
BIT_MASK, OPTION_SET_VALUES| Constructor and Description |
|---|
OptionSetTypeNode(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 |
|---|---|
Boolean[] |
getBitMask()
Get the local value of the BitMask Node.
|
PropertyTypeNode |
getBitMaskNode()
Get the BitMask
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getBitMaskNodeAsync()
Asynchronous implementation of
OptionSetType.getBitMaskNode(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] |
getOptionSetValues()
Get the local value of the OptionSetValues Node.
|
PropertyTypeNode |
getOptionSetValuesNode()
Get the OptionSetValues
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getOptionSetValuesNodeAsync()
Asynchronous implementation of
OptionSetType.getOptionSetValuesNode(). |
Boolean[] |
readBitMask()
Read the value of the BitMask Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends Boolean[]> |
readBitMaskAsync()
An asynchronous implementation of
OptionSetType.readBitMask(). |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] |
readOptionSetValues()
Read the value of the OptionSetValues Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]> |
readOptionSetValuesAsync()
An asynchronous implementation of
OptionSetType.readOptionSetValues(). |
void |
setBitMask(Boolean[] bitMask)
Set the local value of the BitMask Node.
|
void |
setOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] optionSetValues)
Set the local value of the OptionSetValues Node.
|
void |
writeBitMask(Boolean[] bitMask)
Write a new value for the BitMask Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeBitMaskAsync(Boolean[] bitMask)
An asynchronous implementation of
OptionSetType.writeBitMask(Boolean[]). |
void |
writeOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] optionSetValues)
Write a new value for the OptionSetValues Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeOptionSetValuesAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] optionSetValues)
An asynchronous implementation of
OptionSetType.writeOptionSetValues(LocalizedText[]). |
getAccessLevel, 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, waitgetAccessLevel, 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 OptionSetTypeNode(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[] getOptionSetValues()
throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypeThe returned value is the last seen; it is not read live from the server.
getOptionSetValues in interface OptionSetTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OptionSetValues Node.public void setOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] optionSetValues)
throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypeThe value is only updated locally; it is not written to the server.
setOptionSetValues in interface OptionSetTypeoptionSetValues - the local value to set for the OptionSetValues Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OptionSetValues Node.public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] readOptionSetValues()
throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypereadOptionSetValues in interface OptionSetTypeLocalizedText[] value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] optionSetValues)
throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypewriteOptionSetValues in interface OptionSetTypeoptionSetValues - 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[]> readOptionSetValuesAsync()
OptionSetTypeOptionSetType.readOptionSetValues().readOptionSetValuesAsync in interface OptionSetTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeOptionSetValuesAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] optionSetValues)
OptionSetTypeOptionSetType.writeOptionSetValues(LocalizedText[]).writeOptionSetValuesAsync in interface OptionSetTypepublic PropertyTypeNode getOptionSetValuesNode() throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getOptionSetValuesNode in interface OptionSetTypePropertyType 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> getOptionSetValuesNodeAsync()
OptionSetTypeOptionSetType.getOptionSetValuesNode().getOptionSetValuesNodeAsync in interface OptionSetTypepublic Boolean[] getBitMask() throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypeThe returned value is the last seen; it is not read live from the server.
getBitMask in interface OptionSetTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the BitMask Node.public void setBitMask(Boolean[] bitMask) throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypeThe value is only updated locally; it is not written to the server.
setBitMask in interface OptionSetTypebitMask - the local value to set for the BitMask Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the BitMask Node.public Boolean[] readBitMask() throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypereadBitMask in interface OptionSetTypeBoolean[] value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeBitMask(Boolean[] bitMask) throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypewriteBitMask in interface OptionSetTypebitMask - the Boolean[] value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends Boolean[]> readBitMaskAsync()
OptionSetTypeOptionSetType.readBitMask().readBitMaskAsync in interface OptionSetTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeBitMaskAsync(Boolean[] bitMask)
OptionSetTypeOptionSetType.writeBitMask(Boolean[]).writeBitMaskAsync in interface OptionSetTypepublic PropertyTypeNode getBitMaskNode() throws org.eclipse.milo.opcua.stack.core.UaException
OptionSetTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getBitMaskNode in interface OptionSetTypePropertyType 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> getBitMaskNodeAsync()
OptionSetTypeOptionSetType.getBitMaskNode().getBitMaskNodeAsync in interface OptionSetTypeCopyright © 2021. All rights reserved.