Search in sources :

Example 21 with UaVariableTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode in project milo by eclipse.

the class VariableTypeNodeLoader method loadNode33.

private void loadNode33() {
    UaVariableTypeNode node = new UaVariableTypeNode(this.context, Identifiers.XYArrayItemType, new QualifiedName(0, "XYArrayItemType"), new LocalizedText("en", "XYArrayItemType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.XVType, 1, new UInteger[] { UInteger.valueOf(0) }, false);
    node.addReference(new Reference(Identifiers.XYArrayItemType, Identifiers.HasProperty, Identifiers.XYArrayItemType_XAxisDefinition.expanded(), true));
    node.addReference(new Reference(Identifiers.XYArrayItemType, Identifiers.HasSubtype, Identifiers.ArrayItemType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaVariableTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode) DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 22 with UaVariableTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode in project milo by eclipse.

the class VariableTypeNodeLoader method loadNode27.

private void loadNode27() {
    UaVariableTypeNode node = new UaVariableTypeNode(this.context, Identifiers.FiniteTransitionVariableType, new QualifiedName(0, "FiniteTransitionVariableType"), new LocalizedText("en", "FiniteTransitionVariableType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.LocalizedText, -1, new UInteger[] {}, false);
    node.addReference(new Reference(Identifiers.FiniteTransitionVariableType, Identifiers.HasProperty, Identifiers.FiniteTransitionVariableType_Id.expanded(), true));
    node.addReference(new Reference(Identifiers.FiniteTransitionVariableType, Identifiers.HasSubtype, Identifiers.TransitionVariableType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaVariableTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode) DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 23 with UaVariableTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode in project milo by eclipse.

the class VariableTypeNodeLoader method loadNode30.

private void loadNode30() {
    UaVariableTypeNode node = new UaVariableTypeNode(this.context, Identifiers.OptionSetType, new QualifiedName(0, "OptionSetType"), new LocalizedText("en", "OptionSetType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.BaseDataType, -1, new UInteger[] {}, false);
    node.addReference(new Reference(Identifiers.OptionSetType, Identifiers.HasProperty, Identifiers.OptionSetType_OptionSetValues.expanded(), true));
    node.addReference(new Reference(Identifiers.OptionSetType, Identifiers.HasProperty, Identifiers.OptionSetType_BitMask.expanded(), true));
    node.addReference(new Reference(Identifiers.OptionSetType, Identifiers.HasSubtype, Identifiers.BaseDataVariableType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaVariableTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode) DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 24 with UaVariableTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode in project milo by eclipse.

the class VariableTypeNodeLoader method loadNode12.

private void loadNode12() {
    UaVariableTypeNode node = new UaVariableTypeNode(this.context, Identifiers.SubscriptionDiagnosticsArrayType, new QualifiedName(0, "SubscriptionDiagnosticsArrayType"), new LocalizedText("en", "SubscriptionDiagnosticsArrayType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.SubscriptionDiagnosticsDataType, 1, new UInteger[] { UInteger.valueOf(0) }, false);
    node.addReference(new Reference(Identifiers.SubscriptionDiagnosticsArrayType, Identifiers.HasComponent, Identifiers.SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics.expanded(), true));
    node.addReference(new Reference(Identifiers.SubscriptionDiagnosticsArrayType, Identifiers.HasSubtype, Identifiers.BaseDataVariableType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaVariableTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode) DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 25 with UaVariableTypeNode

use of org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode in project milo by eclipse.

the class VariableTypeNodeLoader method loadNode16.

private void loadNode16() {
    UaVariableTypeNode node = new UaVariableTypeNode(this.context, Identifiers.SessionSecurityDiagnosticsArrayType, new QualifiedName(0, "SessionSecurityDiagnosticsArrayType"), new LocalizedText("en", "SessionSecurityDiagnosticsArrayType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), new DataValue(Variant.NULL_VALUE), Identifiers.SessionSecurityDiagnosticsDataType, 1, new UInteger[] { UInteger.valueOf(0) }, false);
    node.addReference(new Reference(Identifiers.SessionSecurityDiagnosticsArrayType, Identifiers.HasComponent, Identifiers.SessionSecurityDiagnosticsArrayType_SessionSecurityDiagnostics.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionSecurityDiagnosticsArrayType, Identifiers.HasSubtype, Identifiers.BaseDataVariableType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaVariableTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode) DataValue(org.eclipse.milo.opcua.stack.core.types.builtin.DataValue) Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Aggregations

UaVariableTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode)38 Reference (org.eclipse.milo.opcua.sdk.core.Reference)37 DataValue (org.eclipse.milo.opcua.stack.core.types.builtin.DataValue)37 LocalizedText (org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)37 QualifiedName (org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName)37 HashMap (java.util.HashMap)1 Map (java.util.Map)1 ExecutionException (java.util.concurrent.ExecutionException)1 ObjectTypeNode (org.eclipse.milo.opcua.sdk.core.nodes.ObjectTypeNode)1 VariableTypeNode (org.eclipse.milo.opcua.sdk.core.nodes.VariableTypeNode)1 AddressSpaceManager (org.eclipse.milo.opcua.sdk.server.api.AddressSpaceManager)1 UaMethodNode (org.eclipse.milo.opcua.sdk.server.nodes.UaMethodNode)1 UaNode (org.eclipse.milo.opcua.sdk.server.nodes.UaNode)1 UaObjectNode (org.eclipse.milo.opcua.sdk.server.nodes.UaObjectNode)1 UaObjectTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaObjectTypeNode)1 UaVariableNode (org.eclipse.milo.opcua.sdk.server.nodes.UaVariableNode)1 NamespaceTable (org.eclipse.milo.opcua.stack.core.NamespaceTable)1 UaException (org.eclipse.milo.opcua.stack.core.UaException)1 ExpandedNodeId (org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId)1 NodeId (org.eclipse.milo.opcua.stack.core.types.builtin.NodeId)1