Search in sources :

Example 1 with FolderTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode in project milo by eclipse.

the class ObjectNodeLoader method loadNode195.

private void loadNode195() {
    FolderTypeNode node = new FolderTypeNode(this.context, Identifiers.ServerCapabilitiesType_AggregateFunctions, new QualifiedName(0, "AggregateFunctions"), new LocalizedText("en", "AggregateFunctions"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType_AggregateFunctions, Identifiers.HasTypeDefinition, Identifiers.FolderType.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType_AggregateFunctions, Identifiers.HasModellingRule, Identifiers.ModellingRule_Mandatory.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType_AggregateFunctions, Identifiers.HasComponent, Identifiers.ServerCapabilitiesType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) CertificateGroupFolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.CertificateGroupFolderTypeNode) FolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 2 with FolderTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode in project milo by eclipse.

the class ObjectNodeLoader method loadNode213.

private void loadNode213() {
    FolderTypeNode node = new FolderTypeNode(this.context, Identifiers.EventTypesFolder, new QualifiedName(0, "EventTypes"), new LocalizedText("en", "EventTypes"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.EventTypesFolder, Identifiers.Organizes, Identifiers.TypesFolder.expanded(), false));
    node.addReference(new Reference(Identifiers.EventTypesFolder, Identifiers.Organizes, Identifiers.BaseEventType.expanded(), true));
    node.addReference(new Reference(Identifiers.EventTypesFolder, Identifiers.HasTypeDefinition, Identifiers.FolderType.expanded(), true));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) CertificateGroupFolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.CertificateGroupFolderTypeNode) FolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 3 with FolderTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode in project milo by eclipse.

the class ObjectNodeLoader method loadNode9.

private void loadNode9() {
    FolderTypeNode node = new FolderTypeNode(this.context, Identifiers.ObjectTypesFolder, new QualifiedName(0, "ObjectTypes"), new LocalizedText("en", "ObjectTypes"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ObjectTypesFolder, Identifiers.Organizes, Identifiers.TypesFolder.expanded(), false));
    node.addReference(new Reference(Identifiers.ObjectTypesFolder, Identifiers.Organizes, Identifiers.BaseObjectType.expanded(), true));
    node.addReference(new Reference(Identifiers.ObjectTypesFolder, Identifiers.HasTypeDefinition, Identifiers.FolderType.expanded(), true));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) CertificateGroupFolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.CertificateGroupFolderTypeNode) FolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 4 with FolderTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode in project milo by eclipse.

the class ObjectNodeLoader method loadNode10.

private void loadNode10() {
    FolderTypeNode node = new FolderTypeNode(this.context, Identifiers.VariableTypesFolder, new QualifiedName(0, "VariableTypes"), new LocalizedText("en", "VariableTypes"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.VariableTypesFolder, Identifiers.Organizes, Identifiers.TypesFolder.expanded(), false));
    node.addReference(new Reference(Identifiers.VariableTypesFolder, Identifiers.Organizes, Identifiers.BaseVariableType.expanded(), true));
    node.addReference(new Reference(Identifiers.VariableTypesFolder, Identifiers.HasTypeDefinition, Identifiers.FolderType.expanded(), true));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) CertificateGroupFolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.CertificateGroupFolderTypeNode) FolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Example 5 with FolderTypeNode

use of org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode in project milo by eclipse.

the class ObjectNodeLoader method loadNode5.

private void loadNode5() {
    FolderTypeNode node = new FolderTypeNode(this.context, Identifiers.RootFolder, new QualifiedName(0, "Root"), new LocalizedText("en", "Root"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.RootFolder, Identifiers.HasTypeDefinition, Identifiers.FolderType.expanded(), true));
    this.nodeManager.addNode(node);
}
Also used : Reference(org.eclipse.milo.opcua.sdk.core.Reference) QualifiedName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName) CertificateGroupFolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.CertificateGroupFolderTypeNode) FolderTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode) LocalizedText(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)

Aggregations

Reference (org.eclipse.milo.opcua.sdk.core.Reference)18 CertificateGroupFolderTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.objects.CertificateGroupFolderTypeNode)18 FolderTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.objects.FolderTypeNode)18 LocalizedText (org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)18 QualifiedName (org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName)18