Search in sources :

Example 96 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class TransparentRedundancyTypeNode method setCurrentServerId.

@Override
public void setCurrentServerId(String currentServerId) throws UaException {
    PropertyTypeNode node = getCurrentServerIdNode();
    node.setValue(new Variant(currentServerId));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Example 97 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class FileTypeNode method setMimeType.

@Override
public void setMimeType(String mimeType) throws UaException {
    PropertyTypeNode node = getMimeTypeNode();
    node.setValue(new Variant(mimeType));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Example 98 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class FileTypeNode method setOpenCount.

@Override
public void setOpenCount(UShort openCount) throws UaException {
    PropertyTypeNode node = getOpenCountNode();
    node.setValue(new Variant(openCount));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Example 99 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class GeneralModelChangeEventTypeNode method setChanges.

@Override
public void setChanges(ModelChangeStructureDataType[] changes) throws UaException {
    PropertyTypeNode node = getChangesNode();
    ExtensionObject[] encoded = ExtensionObject.encodeArray(client.getStaticSerializationContext(), changes);
    node.setValue(new Variant(encoded));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) ExtensionObject(org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Example 100 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class CertificateUpdatedAuditEventTypeNode method setCertificateType.

@Override
public void setCertificateType(NodeId certificateType) throws UaException {
    PropertyTypeNode node = getCertificateTypeNode();
    node.setValue(new Variant(certificateType));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Aggregations

PropertyTypeNode (org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)206 Variant (org.eclipse.milo.opcua.stack.core.types.builtin.Variant)197 ExtensionObject (org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject)18 UInteger (org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger)10 PerformUpdateType (org.eclipse.milo.opcua.stack.core.types.enumerated.PerformUpdateType)2 Lists.newArrayList (com.google.common.collect.Lists.newArrayList)1 Array (java.lang.reflect.Array)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 ArrayList (java.util.ArrayList)1 Arrays (java.util.Arrays)1 Iterator (java.util.Iterator)1 List (java.util.List)1 Optional (java.util.Optional)1 Set (java.util.Set)1 CompletableFuture (java.util.concurrent.CompletableFuture)1 CompletableFuture.completedFuture (java.util.concurrent.CompletableFuture.completedFuture)1 ExecutionException (java.util.concurrent.ExecutionException)1 Consumer (java.util.function.Consumer)1 Collectors (java.util.stream.Collectors)1 AddressSpace (org.eclipse.milo.opcua.sdk.client.AddressSpace)1