Search in sources :

Example 16 with TransitionTypeNode

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

the class ObjectNodeLoader method loadNode193.

private void loadNode193() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ProgramStateMachineType_ReadyToHalted, new QualifiedName(0, "ReadyToHalted"), new LocalizedText("en", "ReadyToHalted"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToHalted, Identifiers.HasProperty, Identifiers.ProgramStateMachineType_ReadyToHalted_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToHalted, Identifiers.FromState, Identifiers.ProgramStateMachineType_Ready.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToHalted, Identifiers.ToState, Identifiers.ProgramStateMachineType_Halted.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToHalted, Identifiers.HasCause, Identifiers.ProgramStateMachineType_Halt.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToHalted, Identifiers.HasEffect, Identifiers.ProgramTransitionEventType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToHalted, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ProgramStateMachineType_ReadyToHalted, 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 17 with TransitionTypeNode

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

the class ObjectNodeLoader method loadNode129.

private void loadNode129() {
    TransitionTypeNode node = new TransitionTypeNode(this.context, Identifiers.ExclusiveLimitStateMachineType_LowToLowLow, new QualifiedName(0, "LowToLowLow"), new LocalizedText("en", "LowToLowLow"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), UByte.valueOf(0));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowToLowLow, Identifiers.HasProperty, Identifiers.ExclusiveLimitStateMachineType_LowToLowLow_TransitionNumber.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowToLowLow, Identifiers.FromState, Identifiers.ExclusiveLimitStateMachineType_Low.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowToLowLow, Identifiers.ToState, Identifiers.ExclusiveLimitStateMachineType_LowLow.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowToLowLow, Identifiers.HasTypeDefinition, Identifiers.TransitionType.expanded(), true));
    node.addReference(new Reference(Identifiers.ExclusiveLimitStateMachineType_LowToLowLow, 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 18 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)

Example 19 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)

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