Interface ServerUnitType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode,UnitType
- All Known Implementing Classes:
ServerUnitTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum>Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.UnitType
DISCIPLINE, SYMBOL, UNIT_SYSTEM -
Method Summary
Modifier and TypeMethodDescriptionGet the AlternativeUnitsBaseObjectTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseObjectType>Asynchronous implementation ofgetAlternativeUnitsNode().Get the CoherentUnitUnitTypeNode, ornullif it does not exist.CompletableFuture<? extends UnitType>Asynchronous implementation ofgetCoherentUnitNode().org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnumGet the local value of the ConversionLimit Node.Get the ConversionLimitPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetConversionLimitNode().org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnumRead the value of the ConversionLimit Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum>An asynchronous implementation ofreadConversionLimit().voidsetConversionLimit(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum value) Set the local value of the ConversionLimit Node.voidwriteConversionLimit(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum value) Write a new value for the ConversionLimit Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeConversionLimitAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum value) An asynchronous implementation ofwriteConversionLimit(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum).Methods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMaskMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
getEventNotifier, setEventNotifierMethods inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.UnitType
getDiscipline, getDisciplineNode, getDisciplineNodeAsync, getSymbol, getSymbolNode, getSymbolNodeAsync, getUnitSystem, getUnitSystemNode, getUnitSystemNodeAsync, readDiscipline, readDisciplineAsync, readSymbol, readSymbolAsync, readUnitSystem, readUnitSystemAsync, setDiscipline, setSymbol, setUnitSystem, writeDiscipline, writeDisciplineAsync, writeSymbol, writeSymbolAsync, writeUnitSystem, writeUnitSystemAsync
-
Field Details
-
CONVERSION_LIMIT
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum> CONVERSION_LIMIT
-
-
Method Details
-
getConversionLimit
org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum getConversionLimit() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the ConversionLimit Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the ConversionLimit Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ConversionLimit Node.
-
setConversionLimit
void setConversionLimit(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the ConversionLimit Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the ConversionLimit Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ConversionLimit Node.
-
readConversionLimit
org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum readConversionLimit() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the ConversionLimit Node from the server and update the local value if the operation succeeds.- Returns:
- the
ConversionLimitEnumvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeConversionLimit
void writeConversionLimit(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the ConversionLimit Node to the server and update the local value if the operation succeeds.- Parameters:
value- theConversionLimitEnumvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readConversionLimitAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum> readConversionLimitAsync()An asynchronous implementation ofreadConversionLimit().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeConversionLimitAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeConversionLimitAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum value) An asynchronous implementation ofwriteConversionLimit(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getConversionLimitNode
Get the ConversionLimitPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the ConversionLimit
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getConversionLimitNodeAsync
CompletableFuture<? extends PropertyType> getConversionLimitNodeAsync()Asynchronous implementation ofgetConversionLimitNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getAlternativeUnitsNode
Get the AlternativeUnitsBaseObjectTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the AlternativeUnits
BaseObjectTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getAlternativeUnitsNodeAsync
CompletableFuture<? extends BaseObjectType> getAlternativeUnitsNodeAsync()Asynchronous implementation ofgetAlternativeUnitsNode().- Returns:
- a CompletableFuture that completes successfully with the BaseObjectType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getCoherentUnitNode
Get the CoherentUnitUnitTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the CoherentUnit
UnitTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getCoherentUnitNodeAsync
CompletableFuture<? extends UnitType> getCoherentUnitNodeAsync()Asynchronous implementation ofgetCoherentUnitNode().- Returns:
- a CompletableFuture that completes successfully with the UnitType Node or completes exceptionally if an error occurs creating or getting the Node.
-