Search in sources :

Example 1 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode32.

private void loadNode32() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.SessionsDiagnosticsSummaryType, new QualifiedName(0, "SessionsDiagnosticsSummaryType"), new LocalizedText("en", "SessionsDiagnosticsSummaryType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.SessionsDiagnosticsSummaryType, Identifiers.HasComponent, Identifiers.SessionsDiagnosticsSummaryType_SessionDiagnosticsArray.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionsDiagnosticsSummaryType, Identifiers.HasComponent, Identifiers.SessionsDiagnosticsSummaryType_SessionSecurityDiagnosticsArray.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionsDiagnosticsSummaryType, Identifiers.HasComponent, Identifiers.SessionsDiagnosticsSummaryType_ClientName_Placeholder.expanded(), true));
    node.addReference(new Reference(Identifiers.SessionsDiagnosticsSummaryType, Identifiers.HasSubtype, Identifiers.BaseObjectType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaObjectTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaObjectTypeNode) 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 UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode101.

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

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

the class ObjectTypeNodeLoader method loadNode21.

private void loadNode21() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.ExclusiveLimitAlarmType, new QualifiedName(0, "ExclusiveLimitAlarmType"), new LocalizedText("en", "ExclusiveLimitAlarmType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.ExclusiveLimitAlarmType, Identifiers.HasComponent, Identifiers.ExclusiveLimitAlarmType_ActiveState.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitAlarmType, Identifiers.HasComponent, Identifiers.ExclusiveLimitAlarmType_LimitState.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitAlarmType, Identifiers.HasSubtype, Identifiers.LimitAlarmType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : UaObjectTypeNode(org.eclipse.milo.opcua.sdk.server.nodes.UaObjectTypeNode) 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 UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode56.

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

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

the class ObjectTypeNodeLoader method loadNode27.

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

UaObjectTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaObjectTypeNode)126 Reference (org.eclipse.milo.opcua.sdk.core.Reference)124 LocalizedText (org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)121 QualifiedName (org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName)121 UaObjectNode (org.eclipse.milo.opcua.sdk.server.nodes.UaObjectNode)5 UaVariableNode (org.eclipse.milo.opcua.sdk.server.nodes.UaVariableNode)4 UaException (org.eclipse.milo.opcua.stack.core.UaException)4 ExpandedNodeId (org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId)4 DataValue (org.eclipse.milo.opcua.stack.core.types.builtin.DataValue)3 Variant (org.eclipse.milo.opcua.stack.core.types.builtin.Variant)3 UaMethodNode (org.eclipse.milo.opcua.sdk.server.nodes.UaMethodNode)2 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 UaNode (org.eclipse.milo.opcua.sdk.server.nodes.UaNode)1 UaVariableTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode)1 NamespaceTable (org.eclipse.milo.opcua.stack.core.NamespaceTable)1