Search in sources :

Example 11 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode29.

private void loadNode29() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.ServerCapabilitiesType, new QualifiedName(0, "ServerCapabilitiesType"), new LocalizedText("en", "ServerCapabilitiesType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_ServerProfileArray.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_LocaleIdArray.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_MinSupportedSampleRate.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_MaxBrowseContinuationPoints.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_MaxQueryContinuationPoints.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_MaxHistoryContinuationPoints.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_SoftwareCertificates.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_MaxArrayLength.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_MaxStringLength.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasProperty, Identifiers.ServerCapabilitiesType_MaxByteStringLength.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasComponent, Identifiers.ServerCapabilitiesType_OperationLimits.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasComponent, Identifiers.ServerCapabilitiesType_ModellingRules.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasComponent, Identifiers.ServerCapabilitiesType_AggregateFunctions.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, Identifiers.HasComponent, Identifiers.ServerCapabilitiesType_VendorCapability_Placeholder.expanded(), true));
    node.addReference(new Reference(Identifiers.ServerCapabilitiesType, 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 12 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode36.

private void loadNode36() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.TransparentRedundancyType, new QualifiedName(0, "TransparentRedundancyType"), new LocalizedText("en", "TransparentRedundancyType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.TransparentRedundancyType, Identifiers.HasProperty, Identifiers.TransparentRedundancyType_CurrentServerId.expanded(), true));
    node.addReference(new Reference(Identifiers.TransparentRedundancyType, Identifiers.HasProperty, Identifiers.TransparentRedundancyType_RedundantServerArray.expanded(), true));
    node.addReference(new Reference(Identifiers.TransparentRedundancyType, Identifiers.HasSubtype, Identifiers.ServerRedundancyType.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 13 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode62.

private void loadNode62() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.AuditUpdateMethodEventType, new QualifiedName(0, "AuditUpdateMethodEventType"), new LocalizedText("en", "AuditUpdateMethodEventType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), true);
    node.addReference(new Reference(Identifiers.AuditUpdateMethodEventType, Identifiers.HasProperty, Identifiers.AuditUpdateMethodEventType_MethodId.expanded(), true));
    node.addReference(new Reference(Identifiers.AuditUpdateMethodEventType, Identifiers.HasProperty, Identifiers.AuditUpdateMethodEventType_InputArguments.expanded(), true));
    node.addReference(new Reference(Identifiers.AuditUpdateMethodEventType, Identifiers.HasSubtype, Identifiers.AuditEventType.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 14 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 15 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode40.

private void loadNode40() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.AuditSecurityEventType, new QualifiedName(0, "AuditSecurityEventType"), new LocalizedText("en", "AuditSecurityEventType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), true);
    node.addReference(new Reference(Identifiers.AuditSecurityEventType, Identifiers.HasSubtype, Identifiers.AuditEventType.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)127 Reference (org.eclipse.milo.opcua.sdk.core.Reference)125 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)6 UaException (org.eclipse.milo.opcua.stack.core.UaException)6 UaVariableNode (org.eclipse.milo.opcua.sdk.server.nodes.UaVariableNode)5 DataValue (org.eclipse.milo.opcua.stack.core.types.builtin.DataValue)4 ExpandedNodeId (org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId)4 Variant (org.eclipse.milo.opcua.stack.core.types.builtin.Variant)4 UaMethodNode (org.eclipse.milo.opcua.sdk.server.nodes.UaMethodNode)2 UaNode (org.eclipse.milo.opcua.sdk.server.nodes.UaNode)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 UaVariableTypeNode (org.eclipse.milo.opcua.sdk.server.nodes.UaVariableTypeNode)1 NamespaceTable (org.eclipse.milo.opcua.stack.core.NamespaceTable)1