Search in sources :

Example 96 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode63.

private void loadNode63() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.SystemEventType, new QualifiedName(0, "SystemEventType"), new LocalizedText("en", "SystemEventType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), true);
    node.addReference(new Reference(Identifiers.SystemEventType, Identifiers.HasSubtype, Identifiers.BaseEventType.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 97 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode109.

private void loadNode109() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.EventQueueOverflowEventType, new QualifiedName(0, "EventQueueOverflowEventType"), new LocalizedText("en", "EventQueueOverflowEventType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), true);
    node.addReference(new Reference(Identifiers.EventQueueOverflowEventType, Identifiers.HasSubtype, Identifiers.BaseEventType.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 98 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode42.

private void loadNode42() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.AuditOpenSecureChannelEventType, new QualifiedName(0, "AuditOpenSecureChannelEventType"), new LocalizedText("en", "AuditOpenSecureChannelEventType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), true);
    node.addReference(new Reference(Identifiers.AuditOpenSecureChannelEventType, Identifiers.HasProperty, Identifiers.AuditOpenSecureChannelEventType_ClientCertificate.expanded(), true));
    node.addReference(new Reference(Identifiers.AuditOpenSecureChannelEventType, Identifiers.HasProperty, Identifiers.AuditOpenSecureChannelEventType_ClientCertificateThumbprint.expanded(), true));
    node.addReference(new Reference(Identifiers.AuditOpenSecureChannelEventType, Identifiers.HasProperty, Identifiers.AuditOpenSecureChannelEventType_RequestType.expanded(), true));
    node.addReference(new Reference(Identifiers.AuditOpenSecureChannelEventType, Identifiers.HasProperty, Identifiers.AuditOpenSecureChannelEventType_SecurityPolicyUri.expanded(), true));
    node.addReference(new Reference(Identifiers.AuditOpenSecureChannelEventType, Identifiers.HasProperty, Identifiers.AuditOpenSecureChannelEventType_SecurityMode.expanded(), true));
    node.addReference(new Reference(Identifiers.AuditOpenSecureChannelEventType, Identifiers.HasProperty, Identifiers.AuditOpenSecureChannelEventType_RequestedLifetime.expanded(), true));
    node.addReference(new Reference(Identifiers.AuditOpenSecureChannelEventType, Identifiers.HasSubtype, Identifiers.AuditChannelEventType.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 99 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode79.

private void loadNode79() {
    UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.ProgramStateMachineType, new QualifiedName(0, "ProgramStateMachineType"), new LocalizedText("en", "ProgramStateMachineType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), false);
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_CurrentState.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_LastTransition.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_Creatable.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_Deletable.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_AutoDelete.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_RecycleCount.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_InstanceCount.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_MaxInstanceCount.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_MaxRecycleCount.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_ProgramDiagnostics.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_FinalResultData.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_Ready.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_Running.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_Suspended.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_Halted.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_HaltedToReady.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_ReadyToRunning.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_RunningToHalted.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_RunningToReady.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_RunningToSuspended.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_SuspendedToRunning.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_SuspendedToHalted.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_SuspendedToReady.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_ReadyToHalted.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_Start.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_Suspend.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_Resume.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_Halt.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasComponent, Identifiers.ProgramStateMachineType_Reset.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType, Identifiers.HasSubtype, Identifiers.FiniteStateMachineType.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 100 with UaObjectTypeNode

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

the class ObjectTypeNodeLoader method loadNode0.

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