Search in sources :

Example 1 with TransitionTypeNode

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

the class ObjectNodeLoader method loadNode186.

private void loadNode186() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ProgramStateMachineType_ReadyToRunning, new QualifiedName(0, "ReadyToRunning"), new LocalizedText("en", "ReadyToRunning"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToRunning, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_ReadyToRunning_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToRunning, Identifiers.FromState, Identifiers.ProgramStateMachineType_Ready.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToRunning, Identifiers.ToState, Identifiers.ProgramStateMachineType_Running.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToRunning, Identifiers.HasCause, Identifiers.ProgramStateMachineType_Start.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToRunning, Identifiers.HasEffect, Identifiers.ProgramTransitionEventType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToRunning, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToRunning, 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 2 with TransitionTypeNode

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

the class ObjectNodeLoader method loadNode200.

private void loadNode200() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ShelvedStateMachineType_UnshelvedToTimedShelved, new QualifiedName(0, "UnshelvedToTimedShelved"), new LocalizedText("en", "UnshelvedToTimedShelved"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToTimedShelved, Identifiers.HasProperty, Identifiers.ShelvedStateMachineType_UnshelvedToTimedShelved_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToTimedShelved, Identifiers.FromState, Identifiers.ShelvedStateMachineType_Unshelved.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToTimedShelved, Identifiers.ToState, Identifiers.ShelvedStateMachineType_TimedShelved.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToTimedShelved, Identifiers.HasEffect, Identifiers.AlarmConditionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToTimedShelved, Identifiers.HasCause, Identifiers.ShelvedStateMachineType_TimedShelve.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToTimedShelved, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToTimedShelved, 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 3 with TransitionTypeNode

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

the class ObjectNodeLoader method loadNode130.

private void loadNode130() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ExclusiveLimitStateMachineType_HighHighToHigh, new QualifiedName(0, "HighHighToHigh"), new LocalizedText("en", "HighHighToHigh"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_HighHighToHigh, Identifiers.HasProperty, Identifiers.ExclusiveLimitStateMachineType_HighHighToHigh_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_HighHighToHigh, Identifiers.FromState, Identifiers.ExclusiveLimitStateMachineType_HighHigh.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_HighHighToHigh, Identifiers.ToState, Identifiers.ExclusiveLimitStateMachineType_High.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_HighHighToHigh, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_HighHighToHigh, 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 4 with TransitionTypeNode

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

the class ObjectNodeLoader method loadNode201.

private void loadNode201() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ShelvedStateMachineType_UnshelvedToOneShotShelved, new QualifiedName(0, "UnshelvedToOneShotShelved"), new LocalizedText("en", "UnshelvedToOneShotShelved"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToOneShotShelved, Identifiers.HasProperty, Identifiers.ShelvedStateMachineType_UnshelvedToOneShotShelved_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToOneShotShelved, Identifiers.FromState, Identifiers.ShelvedStateMachineType_Unshelved.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToOneShotShelved, Identifiers.ToState, Identifiers.ShelvedStateMachineType_OneShotShelved.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToOneShotShelved, Identifiers.HasEffect, Identifiers.AlarmConditionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToOneShotShelved, Identifiers.HasCause, Identifiers.ShelvedStateMachineType_OneShotShelve.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToOneShotShelved, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ShelvedStateMachineType_UnshelvedToOneShotShelved, 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 5 with TransitionTypeNode

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

the class ObjectNodeLoader method loadNode190.

private void loadNode190() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ProgramStateMachineType_SuspendedToRunning, new QualifiedName(0, "SuspendedToRunning"), new LocalizedText("en", "SuspendedToRunning"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToRunning, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_SuspendedToRunning_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToRunning, Identifiers.FromState, Identifiers.ProgramStateMachineType_Suspended.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToRunning, Identifiers.ToState, Identifiers.ProgramStateMachineType_Running.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToRunning, Identifiers.HasCause, Identifiers.ProgramStateMachineType_Resume.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToRunning, Identifiers.HasEffect, Identifiers.ProgramTransitionEventType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToRunning, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_SuspendedToRunning, 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)

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