Search in sources :

Example 96 with Variant

use of org.eclipse.milo.opcua.stack.core.types.builtin.Variant in project milo by eclipse.

the class ProgramStateMachineTypeNode method setCreatable.

@Override
public void setCreatable(Boolean creatable) throws UaException {
    PropertyTypeNode node = getCreatableNode();
    node.setValue(new Variant(creatable));
}
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 Variant

use of org.eclipse.milo.opcua.stack.core.types.builtin.Variant in project milo by eclipse.

the class ProgramStateMachineTypeNode method setMaxInstanceCount.

@Override
public void setMaxInstanceCount(UInteger maxInstanceCount) throws UaException {
    PropertyTypeNode node = getMaxInstanceCountNode();
    node.setValue(new Variant(maxInstanceCount));
}
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 Variant

use of org.eclipse.milo.opcua.stack.core.types.builtin.Variant in project milo by eclipse.

the class ProgramStateMachineTypeNode method setInstanceCount.

@Override
public void setInstanceCount(UInteger instanceCount) throws UaException {
    PropertyTypeNode node = getInstanceCountNode();
    node.setValue(new Variant(instanceCount));
}
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 Variant

use of org.eclipse.milo.opcua.stack.core.types.builtin.Variant in project milo by eclipse.

the class ProgramStateMachineTypeNode method setDeletable.

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

Example 100 with Variant

use of org.eclipse.milo.opcua.stack.core.types.builtin.Variant in project milo by eclipse.

the class ProgramTransitionEventTypeNode method setIntermediateResult.

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

Aggregations

Variant (org.eclipse.milo.opcua.stack.core.types.builtin.Variant)902 DataValue (org.eclipse.milo.opcua.stack.core.types.builtin.DataValue)419 QualifiedName (org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName)272 Reference (org.eclipse.milo.opcua.sdk.core.Reference)267 LocalizedText (org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)265 StringReader (java.io.StringReader)243 OpcUaXmlStreamDecoder (org.eclipse.milo.opcua.stack.core.serialization.OpcUaXmlStreamDecoder)243 PropertyTypeNode (org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)196 ExtensionObject (org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject)190 PropertyTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.variables.PropertyTypeNode)169 DataTypeDescriptionTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.variables.DataTypeDescriptionTypeNode)75 NodeId (org.eclipse.milo.opcua.stack.core.types.builtin.NodeId)58 UaException (org.eclipse.milo.opcua.stack.core.UaException)57 ByteString (org.eclipse.milo.opcua.stack.core.types.builtin.ByteString)42 StatusCode (org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode)40 Test (org.testng.annotations.Test)35 UaVariableNode (org.eclipse.milo.opcua.sdk.server.nodes.UaVariableNode)34 UInteger (org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger)29 UaFolderNode (org.eclipse.milo.opcua.sdk.server.nodes.UaFolderNode)22 Identifiers (org.eclipse.milo.opcua.stack.core.Identifiers)22