Search in sources :

Example 1 with UaReferenceTypeNode

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

the class ReferenceTypeNodeLoader method loadNode3.

private void loadNode3() {
    UaReferenceTypeNode node = new UaReferenceTypeNode(this.context, Identifiers.HasChild, new QualifiedName(0, "HasChild"), new LocalizedText("en", "HasChild"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false, false, new LocalizedText("en", "ChildOf"));
    node.addReference(new Reference(Identifiers.HasChild, Identifiers.HasSubtype, Identifiers.HierarchicalReferences.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaReferenceTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaReferenceTypeNode) 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 2 with UaReferenceTypeNode

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

the class ReferenceTypeNodeLoader method loadNode26.

private void loadNode26() {
    UaReferenceTypeNode node = new UaReferenceTypeNode(this.context, Identifiers.AlwaysGeneratesEvent, new QualifiedName(0, "AlwaysGeneratesEvent"), new LocalizedText("en", "AlwaysGeneratesEvent"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false, false, new LocalizedText("en", "AlwaysGeneratesEvent"));
    node.addReference(new Reference(Identifiers.AlwaysGeneratesEvent, Identifiers.HasSubtype, Identifiers.GeneratesEvent.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaReferenceTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaReferenceTypeNode) 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 3 with UaReferenceTypeNode

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

the class ReferenceTypeNodeLoader method loadNode21.

private void loadNode21() {
    UaReferenceTypeNode node = new UaReferenceTypeNode(this.context, Identifiers.HasHistoricalConfiguration, new QualifiedName(0, "HasHistoricalConfiguration"), new LocalizedText("en", "HasHistoricalConfiguration"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false, false, new LocalizedText("en", "HistoricalConfigurationOf"));
    node.addReference(new Reference(Identifiers.HasHistoricalConfiguration, Identifiers.HasSubtype, Identifiers.Aggregates.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaReferenceTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaReferenceTypeNode) 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 4 with UaReferenceTypeNode

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

the class ReferenceTypeNodeLoader method loadNode10.

private void loadNode10() {
    UaReferenceTypeNode node = new UaReferenceTypeNode(this.context, Identifiers.GeneratesEvent, new QualifiedName(0, "GeneratesEvent"), new LocalizedText("en", "GeneratesEvent"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false, false, new LocalizedText("en", "GeneratesEvent"));
    node.addReference(new Reference(Identifiers.GeneratesEvent, Identifiers.HasSubtype, Identifiers.NonHierarchicalReferences.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaReferenceTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaReferenceTypeNode) 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 5 with UaReferenceTypeNode

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

the class ReferenceTypeNodeLoader method loadNode5.

private void loadNode5() {
    UaReferenceTypeNode node = new UaReferenceTypeNode(this.context, Identifiers.HasEventSource, new QualifiedName(0, "HasEventSource"), new LocalizedText("en", "HasEventSource"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false, false, new LocalizedText("en", "EventSourceOf"));
    node.addReference(new Reference(Identifiers.HasEventSource, Identifiers.HasSubtype, Identifiers.HierarchicalReferences.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaReferenceTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaReferenceTypeNode) 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

UaReferenceTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaReferenceTypeNode)27 LocalizedText (org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)27 QualifiedName (org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName)27 Reference (org.eclipse.milo.opcua.sdk.core.Reference)26