public class DataItemTypeNode extends BaseDataVariableTypeNode implements DataItemType
DEFINITION, VALUE_PRECISION| Constructor and Description |
|---|
DataItemTypeNode(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 |
|---|---|
String |
getDefinition()
Get the local value of the Definition Node.
|
PropertyTypeNode |
getDefinitionNode()
Get the Definition
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getDefinitionNodeAsync()
Asynchronous implementation of
DataItemType.getDefinitionNode(). |
Double |
getValuePrecision()
Get the local value of the ValuePrecision Node.
|
PropertyTypeNode |
getValuePrecisionNode()
Get the ValuePrecision
PropertyType Node, or null if it does not exist. |
CompletableFuture<? extends PropertyTypeNode> |
getValuePrecisionNodeAsync()
Asynchronous implementation of
DataItemType.getValuePrecisionNode(). |
String |
readDefinition()
Read the value of the Definition Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends String> |
readDefinitionAsync()
An asynchronous implementation of
DataItemType.readDefinition(). |
Double |
readValuePrecision()
Read the value of the ValuePrecision Node from the server and update the local value if the
operation succeeds.
|
CompletableFuture<? extends Double> |
readValuePrecisionAsync()
An asynchronous implementation of
DataItemType.readValuePrecision(). |
void |
setDefinition(String definition)
Set the local value of the Definition Node.
|
void |
setValuePrecision(Double valuePrecision)
Set the local value of the ValuePrecision Node.
|
void |
writeDefinition(String definition)
Write a new value for the Definition Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeDefinitionAsync(String definition)
An asynchronous implementation of
DataItemType.writeDefinition(String). |
void |
writeValuePrecision(Double valuePrecision)
Write a new value for the ValuePrecision Node to the server and update the local value if
the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeValuePrecisionAsync(Double valuePrecision)
An asynchronous implementation of
DataItemType.writeValuePrecision(Double). |
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 DataItemTypeNode(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 String getDefinition() throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypeThe returned value is the last seen; it is not read live from the server.
getDefinition in interface DataItemTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Definition Node.public void setDefinition(String definition) throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypeThe value is only updated locally; it is not written to the server.
setDefinition in interface DataItemTypedefinition - the local value to set for the Definition Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Definition Node.public String readDefinition() throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypereadDefinition in interface DataItemTypeString value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeDefinition(String definition) throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypewriteDefinition in interface DataItemTypedefinition - the String value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends String> readDefinitionAsync()
DataItemTypeDataItemType.readDefinition().readDefinitionAsync in interface DataItemTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDefinitionAsync(String definition)
DataItemTypeDataItemType.writeDefinition(String).writeDefinitionAsync in interface DataItemTypepublic PropertyTypeNode getDefinitionNode() throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getDefinitionNode in interface DataItemTypePropertyType 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> getDefinitionNodeAsync()
DataItemTypeDataItemType.getDefinitionNode().getDefinitionNodeAsync in interface DataItemTypepublic Double getValuePrecision() throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypeThe returned value is the last seen; it is not read live from the server.
getValuePrecision in interface DataItemTypeorg.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ValuePrecision Node.public void setValuePrecision(Double valuePrecision) throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypeThe value is only updated locally; it is not written to the server.
setValuePrecision in interface DataItemTypevaluePrecision - the local value to set for the ValuePrecision Node.org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ValuePrecision Node.public Double readValuePrecision() throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypereadValuePrecision in interface DataItemTypeDouble value read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeValuePrecision(Double valuePrecision) throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypewriteValuePrecision in interface DataItemTypevaluePrecision - the Double value to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends Double> readValuePrecisionAsync()
DataItemTypeDataItemType.readValuePrecision().readValuePrecisionAsync in interface DataItemTypepublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeValuePrecisionAsync(Double valuePrecision)
DataItemTypeDataItemType.writeValuePrecision(Double).writeValuePrecisionAsync in interface DataItemTypepublic PropertyTypeNode getValuePrecisionNode() throws org.eclipse.milo.opcua.stack.core.UaException
DataItemTypePropertyType Node, or null if it does not exist.
The Node is created when first accessed and cached for subsequent calls.
getValuePrecisionNode in interface DataItemTypePropertyType 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> getValuePrecisionNodeAsync()
DataItemTypeDataItemType.getValuePrecisionNode().getValuePrecisionNodeAsync in interface DataItemTypeCopyright © 2021. All rights reserved.