Interface UnitType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- All Known Subinterfaces:
AlternativeUnitType,ServerUnitType
- All Known Implementing Classes:
AlternativeUnitTypeNode,ServerUnitTypeNode,UnitTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String> -
Method Summary
Modifier and TypeMethodDescriptionGet the local value of the Discipline Node.Get the DisciplinePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetDisciplineNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the Symbol Node.Get the SymbolPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetSymbolNode().Get the local value of the UnitSystem Node.Get the UnitSystemPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetUnitSystemNode().Read the value of the Discipline Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadDiscipline().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the Symbol Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText>An asynchronous implementation ofreadSymbol().Read the value of the UnitSystem Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadUnitSystem().voidsetDiscipline(String value) Set the local value of the Discipline Node.voidsetSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the Symbol Node.voidsetUnitSystem(String value) Set the local value of the UnitSystem Node.voidwriteDiscipline(String value) Write a new value for the Discipline Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDisciplineAsync(String value) An asynchronous implementation ofwriteDiscipline(java.lang.String).voidwriteSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the Symbol Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeSymbolAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) An asynchronous implementation ofwriteSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).voidwriteUnitSystem(String value) Write a new value for the UnitSystem Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeUnitSystemAsync(String value) An asynchronous implementation ofwriteUnitSystem(java.lang.String).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, setEventNotifier
-
Field Details
-
SYMBOL
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> SYMBOL -
UNIT_SYSTEM
-
DISCIPLINE
-
-
Method Details
-
getSymbol
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getSymbol() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the Symbol Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the Symbol Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Symbol Node.
-
setSymbol
void setSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the Symbol Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the Symbol Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Symbol Node.
-
readSymbol
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readSymbol() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the Symbol Node from the server and update the local value if the operation succeeds.- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeSymbol
void writeSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the Symbol Node to the server and update the local value if the operation succeeds.- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readSymbolAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readSymbolAsync()An asynchronous implementation ofreadSymbol().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSymbolAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSymbolAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) An asynchronous implementation ofwriteSymbol(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSymbolNode
Get the SymbolPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Symbol
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getSymbolNodeAsync
CompletableFuture<? extends PropertyType> getSymbolNodeAsync()Asynchronous implementation ofgetSymbolNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getUnitSystem
Get the local value of the UnitSystem Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the UnitSystem Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the UnitSystem Node.
-
setUnitSystem
Set the local value of the UnitSystem Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the UnitSystem Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the UnitSystem Node.
-
readUnitSystem
Read the value of the UnitSystem Node from the server and update the local value if the operation succeeds.- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeUnitSystem
Write a new value for the UnitSystem Node to the server and update the local value if the operation succeeds.- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readUnitSystemAsync
CompletableFuture<? extends String> readUnitSystemAsync()An asynchronous implementation ofreadUnitSystem().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeUnitSystemAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeUnitSystemAsync(String value) An asynchronous implementation ofwriteUnitSystem(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getUnitSystemNode
Get the UnitSystemPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the UnitSystem
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getUnitSystemNodeAsync
CompletableFuture<? extends PropertyType> getUnitSystemNodeAsync()Asynchronous implementation ofgetUnitSystemNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getDiscipline
Get the local value of the Discipline Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the Discipline Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Discipline Node.
-
setDiscipline
Set the local value of the Discipline Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the Discipline Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Discipline Node.
-
readDiscipline
Read the value of the Discipline Node from the server and update the local value if the operation succeeds.- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDiscipline
Write a new value for the Discipline Node to the server and update the local value if the operation succeeds.- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readDisciplineAsync
CompletableFuture<? extends String> readDisciplineAsync()An asynchronous implementation ofreadDiscipline().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDisciplineAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDisciplineAsync(String value) An asynchronous implementation ofwriteDiscipline(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDisciplineNode
Get the DisciplinePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Discipline
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDisciplineNodeAsync
CompletableFuture<? extends PropertyType> getDisciplineNodeAsync()Asynchronous implementation ofgetDisciplineNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-