Search in sources :

Example 11 with TransitionTypeNode

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

the class ObjectNodeLoader method loadNode185.

private void loadNode185() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ProgramStateMachineType_HaltedToReady, new QualifiedName(0, "HaltedToReady"), new LocalizedText("en", "HaltedToReady"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_HaltedToReady, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_HaltedToReady_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_HaltedToReady, Identifiers.FromState, Identifiers.ProgramStateMachineType_Halted.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_HaltedToReady, Identifiers.ToState, Identifiers.ProgramStateMachineType_Ready.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_HaltedToReady, Identifiers.HasCause, Identifiers.ProgramStateMachineType_Reset.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_HaltedToReady, Identifiers.HasEffect, Identifiers.ProgramTransitionEventType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_HaltedToReady, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_HaltedToReady, Identifiers.HasComponent, Identifiers.ProgramStateMachineType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : TransitionTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.TransitionTypeNode) 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 TransitionTypeNode

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

the class ObjectNodeLoader method loadNode205.

private void loadNode205() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ShelvedStateMachineType_OneShotShelvedToTimedShelved, new QualifiedName(0, "OneShotShelvedToTimedShelved"), new LocalizedText("en", "OneShotShelvedToTimedShelved"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_OneShotShelvedToTimedShelved, Identifiers.HasProperty, Identifiers.ShelvedStateMachineType_OneShotShelvedToTimedShelved_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_OneShotShelvedToTimedShelved, Identifiers.FromState, Identifiers.ShelvedStateMachineType_OneShotShelved.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_OneShotShelvedToTimedShelved, Identifiers.ToState, Identifiers.ShelvedStateMachineType_TimedShelved.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_OneShotShelvedToTimedShelved, Identifiers.HasEffect, Identifiers.AlarmConditionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_OneShotShelvedToTimedShelved, Identifiers.HasCause, Identifiers.ShelvedStateMachineType_TimedShelve.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_OneShotShelvedToTimedShelved, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_OneShotShelvedToTimedShelved, Identifiers.HasComponent, Identifiers.ShelvedStateMachineType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : TransitionTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.TransitionTypeNode) 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 TransitionTypeNode

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

the class ObjectNodeLoader method loadNode128.

private void loadNode128() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ExclusiveLimitStateMachineType_LowLowToLow, new QualifiedName(0, "LowLowToLow"), new LocalizedText("en", "LowLowToLow"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowLowToLow, Identifiers.HasProperty, Identifiers.ExclusiveLimitStateMachineType_LowLowToLow_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowLowToLow, Identifiers.FromState, Identifiers.ExclusiveLimitStateMachineType_LowLow.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowLowToLow, Identifiers.ToState, Identifiers.ExclusiveLimitStateMachineType_Low.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowLowToLow, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowLowToLow, Identifiers.HasComponent, Identifiers.ExclusiveLimitStateMachineType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : TransitionTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.TransitionTypeNode) 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 TransitionTypeNode

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

the class ObjectNodeLoader method loadNode192.

private void loadNode192() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ProgramStateMachineType_SuspendedToReady, new QualifiedName(0, "SuspendedToReady"), new LocalizedText("en", "SuspendedToReady"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToReady, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_SuspendedToReady_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToReady, Identifiers.FromState, Identifiers.ProgramStateMachineType_Suspended.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToReady, Identifiers.ToState, Identifiers.ProgramStateMachineType_Ready.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToReady, Identifiers.HasEffect, Identifiers.ProgramTransitionEventType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToReady, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToReady, Identifiers.HasComponent, Identifiers.ProgramStateMachineType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : TransitionTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.TransitionTypeNode) 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 TransitionTypeNode

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

the class ObjectNodeLoader method loadNode203.

private void loadNode203() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ShelvedStateMachineType_TimedShelvedToOneShotShelved, new QualifiedName(0, "TimedShelvedToOneShotShelved"), new LocalizedText("en", "TimedShelvedToOneShotShelved"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_TimedShelvedToOneShotShelved, Identifiers.HasProperty, Identifiers.ShelvedStateMachineType_TimedShelvedToOneShotShelved_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_TimedShelvedToOneShotShelved, Identifiers.FromState, Identifiers.ShelvedStateMachineType_TimedShelved.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_TimedShelvedToOneShotShelved, Identifiers.ToState, Identifiers.ShelvedStateMachineType_OneShotShelved.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_TimedShelvedToOneShotShelved, Identifiers.HasEffect, Identifiers.AlarmConditionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_TimedShelvedToOneShotShelved, Identifiers.HasCause, Identifiers.ShelvedStateMachineType_OneShotShelve.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_TimedShelvedToOneShotShelved, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_TimedShelvedToOneShotShelved, Identifiers.HasComponent, Identifiers.ShelvedStateMachineType.expanded(), false));
    this.nodeManager.addNode(node);
}
Also used : TransitionTypeNode(org.eclipse.milo.opcua.sdk.server.model.nodes.objects.TransitionTypeNode) 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

Reference (org.eclipse.milo.opcua.sdk.core.Reference)19 TransitionTypeNode (org.eclipse.milo.opcua.sdk.server.model.nodes.objects.TransitionTypeNode)19 LocalizedText (org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText)19 QualifiedName (org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName)19