diff options
53 files changed, 0 insertions, 5135 deletions
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/.classpath b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/.classpath deleted file mode 100644 index c52753f81..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/.classpath +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src-gen"/> - <classpathentry kind="src" path="/org.eclipse.etrice.runtime.java"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> - <classpathentry combineaccessrules="false" kind="src" path="/org.eclipse.etrice.modellib.java"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/.gitignore b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/.gitignore deleted file mode 100644 index 2250ba973..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -bin -doc-gen -src-gen-info -src-gen/* -!src-gen/readme.txt diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/.project b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/.project deleted file mode 100644 index 4112661dd..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/.project +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.etrice.tutorials.simulators.trafficlight.example</name> - <comment></comment> - <projects> - <project>org.eclipse.etrice.runtime.java</project> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.xtext.ui.shared.xtextBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> - </natures> -</projectDescription> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/build.properties b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/build.properties deleted file mode 100644 index 83655578d..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/build.properties +++ /dev/null @@ -1,2 +0,0 @@ -source.. = src/,\ -src-gen/ diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.config b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.config deleted file mode 100644 index d0693fefe..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.config +++ /dev/null @@ -1,17 +0,0 @@ -ConfigModel trafficlight.example.config { - - import trafficlight.example.* from "trafficlight.room" - ActorInstanceConfig TrafficlightModel.TrafficlightLogSys/subsystem/application/tsCommands { - Attr socketConfig { - Attr IPAddr = "localhost" - Attr TcpPort = 4441 - } - } - ActorInstanceConfig TrafficlightModel.TrafficlightLogSys/subsystem/application/tlCommands2 { - Attr socketConfig { - Attr IPAddr = "localhost" - Attr TcpPort = 4442 - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.etmap b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.etmap deleted file mode 100644 index a9a61742a..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.etmap +++ /dev/null @@ -1,10 +0,0 @@ -MappingModel MappingModel1 { - import TrafficlightModel.* from "trafficlight.room" - import TrafficLightPhysicalModel.* from "trafficlight.etphys" - Mapping TrafficlightLogSys -> PhysicalSys { - SubSystemMapping subsystem -> node1 { - ThreadMapping defaultThread -> PhysicalThread1 - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.etphys b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.etphys deleted file mode 100644 index d08e35e2e..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.etphys +++ /dev/null @@ -1,26 +0,0 @@ -PhysicalModel TrafficLightPhysicalModel { - - PhysicalSystem PhysicalSys { - NodeRef node1 : NodeClass1 - } - - NodeClass NodeClass1 { - runtime = RuntimeClass1 - priomin = -10 - priomax = 10 - - DefaultThread PhysicalThread1 { - execmode = mixed - interval = 100ms - prio = 0 - stacksize = 1024 - msgblocksize = 32 - msgpoolsize = 10 - } - } - - RuntimeClass RuntimeClass1 { - model = multiThreaded - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.room deleted file mode 100644 index d228ddd78..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/current/trafficlight.room +++ /dev/null @@ -1,359 +0,0 @@ -RoomModel TrafficlightModel { - - import room.basic.types.* from "../../../org.eclipse.etrice.modellib.java/model/Types.room" - import room.basic.service.timing.* from "../../../org.eclipse.etrice.modellib.java/model/TimingService.room" - import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.java/model/TcpService.room" - - LogicalSystem TrafficlightLogSys { - SubSystemRef subsystem:SubSys - } - SubSystemClass SubSys { - ActorRef application:Application - ActorRef timingService: ATimingService - LayerConnection ref application satisfied_by timingService.timer - LogicalThread defaultThread - } - ActorClass Application { - Structure { - ActorRef controller: TrafficLightController - ActorRef coordinator: TrafficLightCoordinator - ActorRef tsCommands: TrafficLightCommands - ActorRef tlCommands2: TrafficLightCommands - ActorRef controller2: TrafficLightController - Binding coordinator.controller and controller.fct - Binding controller.tlCommands and tsCommands.fct - Binding controller2.tlCommands and tlCommands2.fct - Binding coordinator.controller and controller2.fct - } - Behavior { } - } - - ActorClass TrafficLightCoordinator { - Interface { - conjugated Port controller [*]: PTrafficLightController - } - Structure { - external Port controller - SAP timeout: PTimer - - } - Behavior { - StateMachine { - Transition init: initial -> Idle { } - Transition tr0: Idle -> Running { - triggers { - <timeout: timeout> - } - } - Transition tr1: Running -> Off { - triggers { - <timeout: timeout> - } - } - Transition tr2: Off -> Running { - triggers { - <timeout: timeout> - } - } - State Idle { - entry { - "timeout.startTimeout(3000);" - } - } - State Running { - entry { - "timeout.startTimeout(20000);" - "controller.setOn();" - } - } - State Off { - entry { - "timeout.startTimeout(20000);" - "controller.setOff();" - } - } - } - } - } - - ActorClass TrafficLightController { - Interface { - Port fct: PTrafficLightController - conjugated Port tlCommands: PTrafficLightCommands - } - Structure { - external Port fct - external Port tlCommands - SAP timeout: PTimer - } - Behavior { - StateMachine { - Transition init: initial -> InitCommands { } - Transition tr0: InitCommands -> tp0 of Blinking { - triggers { - <doneInit: tlCommands> - } - } - Transition tr1: Blinking -> tp0 of Working { - triggers { - <setOn: fct> - } - } - Transition tr2: Working -> tp0 of Blinking { - triggers { - <setOff: fct> - } - } - State InitCommands { - entry { - "tlCommands.startInit();" - } - } - State Blinking { - exit { - "timeout.kill();" - } - subgraph { - Transition tr0: my tp0 -> On - Transition tr1: On -> Off { - triggers { - <timeout: timeout> - } - } - Transition tr2: Off -> On { - triggers { - <timeout: timeout> - } - } - EntryPoint tp0 - State On { - entry { - "tlCommands.carYellow();" - "tlCommands.pedRed();" - "timeout.startTimeout(500);" - } - exit { - "tlCommands.carOff();" - "tlCommands.pedOff();" - } - } - State Off { - entry { - "timeout.startTimeout(500);" - } - } - } - } - State Working { - subgraph { - Transition tr0: my tp0 -> AllRed - Transition tr1: AllRed -> CarGreen { - triggers { - <timeout: timeout> - } - } - Transition tr2: PedGreen -> AllRed { - triggers { - <timeout: timeout> - } - } - Transition tr3: CarGreen -> CarYellow { - triggers { - <pressedButton: tlCommands> - } - } - Transition tr4: CarYellow -> CarRed { - triggers { - <timeout: timeout> - } - } - Transition tr5: CarRed -> PedGreen { - triggers { - <timeout: timeout> - } - } - EntryPoint tp0 - State AllRed { - entry { - "tlCommands.carRed();" - "tlCommands.pedRed();" - "timeout.startTimeout(1000);" - } - } - State CarGreen { - entry { - "tlCommands.carGreen();" - } - } - State CarYellow { - entry { - "tlCommands.carYellow();" - "timeout.startTimeout(1000);" - } - } - State CarRed { - entry { - "tlCommands.carRed();" - "timeout.startTimeout(1000);" - } - } - State PedGreen { - entry { - "tlCommands.pedGreen();" - "timeout.startTimeout(3000);" - } - } - } - } - } - } - } - - ActorClass TrafficLightCommands { - Interface { - Port fct: PTrafficLightCommands - } - Structure { - external Port fct - conjugated Port socketControl: PTcpControl - conjugated Port socketPayload: PTcpPayload - ActorRef socket: ATcpClient - Binding socketPayload and socket.PayloadPort - Binding socketControl and socket.ControlPort - Attribute socketConfig: DTcpControl - - } - Behavior { - StateMachine { - Transition init: initial -> NotInitialized { - action { - "//socketConfig = new DTcpControl(\"localhost\", 4441);" - } - } - Transition tr0: ConfigSocket -> SocketOpen { - triggers { - <established: socketControl> - } - action { - "fct.doneInit();" - } - } - Transition tr1: SocketOpen -> SocketOpen { - triggers { - <carRed: fct> - } - action { - "String payload = new String(\"carLights=red\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr2: SocketOpen -> SocketOpen { - triggers { - <carYellow: fct> - } - action { - "String payload = new String(\"carLights=yellow\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr3: SocketOpen -> SocketOpen { - triggers { - <carGreen: fct> - } - action { - "String payload = new String(\"carLights=green\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr4: SocketOpen -> SocketOpen { - triggers { - <carOff: fct> - } - action { - "String payload = new String(\"carLights=off\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr5: SocketOpen -> SocketOpen { - triggers { - <pedRed: fct> - } - action { - "String payload = new String(\"pedLights=red\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr6: SocketOpen -> SocketOpen { - triggers { - <pedGreen: fct> - } - action { - "String payload = new String(\"pedLights=green\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr7: SocketOpen -> SocketOpen { - triggers { - <pedOff: fct> - } - action { - "String payload = new String(\"pedLights=off\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr8: SocketOpen -> SocketOpen { - triggers { - <receive: socketPayload> - } - action { - "fct.pressedButton();" - } - } - Transition tr9: NotInitialized -> ConfigSocket { - triggers { - <startInit: fct> - } - } - State ConfigSocket { - entry { - "socketControl.open(socketConfig);" - "" - "System.out.println(\"ConfigSocket: open\");" - } - } - State SocketOpen - State NotInitialized - } - } - } - - ProtocolClass PTrafficLightController { - incoming { - Message setOn() - Message setOff() - } - } - - ProtocolClass PTrafficLightCommands { - incoming { - Message startInit() - - Message carRed() - Message carYellow() - Message carYellowRed() - Message carGreen() - Message carOff() - - Message pedRed() - Message pedGreen() - Message pedOff() - Message myMessage() - - } - outgoing { - Message doneInit() - - Message pressedButton() - } - } -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.config b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.config deleted file mode 100644 index 397967f98..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.config +++ /dev/null @@ -1,6 +0,0 @@ -ConfigModel trafficlight.example.config { - - import trafficlight.example.* from "trafficlight.room" - - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.etmap b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.etmap deleted file mode 100644 index a9a61742a..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.etmap +++ /dev/null @@ -1,10 +0,0 @@ -MappingModel MappingModel1 { - import TrafficlightModel.* from "trafficlight.room" - import TrafficLightPhysicalModel.* from "trafficlight.etphys" - Mapping TrafficlightLogSys -> PhysicalSys { - SubSystemMapping subsystem -> node1 { - ThreadMapping defaultThread -> PhysicalThread1 - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.etphys b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.etphys deleted file mode 100644 index d08e35e2e..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.etphys +++ /dev/null @@ -1,26 +0,0 @@ -PhysicalModel TrafficLightPhysicalModel { - - PhysicalSystem PhysicalSys { - NodeRef node1 : NodeClass1 - } - - NodeClass NodeClass1 { - runtime = RuntimeClass1 - priomin = -10 - priomax = 10 - - DefaultThread PhysicalThread1 { - execmode = mixed - interval = 100ms - prio = 0 - stacksize = 1024 - msgblocksize = 32 - msgpoolsize = 10 - } - } - - RuntimeClass RuntimeClass1 { - model = multiThreaded - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.room deleted file mode 100644 index 26ca58281..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/start/trafficlight.room +++ /dev/null @@ -1,17 +0,0 @@ -RoomModel TrafficlightModel { - - import room.basic.types.* from "../../../org.eclipse.etrice.modellib.java/model/Types.room" - import room.basic.service.timing.* from "../../../org.eclipse.etrice.modellib.java/model/TimingService.room" - import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.java/model/TcpService.room" - - LogicalSystem TrafficlightLogSys { - SubSystemRef subsystem:SubSys - } - SubSystemClass SubSys { - ActorRef application:Application - LogicalThread defaultThread - } - ActorClass Application { - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/diagrams/TrafficlightModel.TrafficLightCommands.behavior b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/diagrams/TrafficlightModel.TrafficLightCommands.behavior deleted file mode 100644 index a300bd8c3..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/diagrams/TrafficlightModel.TrafficLightCommands.behavior +++ /dev/null @@ -1,135 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" diagramTypeId="room.behavior" name="Behavior of TrafficLightCommands" pictogramLinks="//@link //@children.0/@link //@children.0/@children.1/@link //@children.0/@children.2/@link //@children.0/@children.3/@link //@connections.0/@link //@connections.1/@link" verticalGridUnit="0" version="0.10.0"> - <graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/> - <link> - <businessObjects href="../trafficlight.room#ActorClass:TrafficLightCommands"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="sg"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="880" height="580" x="40" y="40"> - <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="4" transparency="0.5" width="800" height="500" x="40" y="40" cornerHeight="20" cornerWidth="20"/> - <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" foreground="//@colors.2" lineWidth="4" filled="false" transparency="0.0" width="800" height="500" x="40" y="40" cornerHeight="20" cornerWidth="20"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#StateGraph:TrafficLightCommands$sg"/> - </link> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.2" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="800" height="80" y="40" font="//@fonts.1" horizontalAlignment="ALIGNMENT_RIGHT" verticalAlignment="ALIGNMENT_TOP" value="/"/> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="trp"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="40" height="40" x="100" y="100"> - <graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.1" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="20" height="20" x="10" y="10"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#StateGraph:TrafficLightCommands$sg"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" outgoingConnections="//@connections.0" referencedGraphicsAlgorithm="//@children.0/@children.1/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.2" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="40" height="20" y="10" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="I"/> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="state"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="147" height="90" x="193" y="120"> - <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="87" height="30" x="30" y="30" cornerHeight="20" cornerWidth="20"> - <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="15" height="8" x="62" y="3" cornerHeight="5" cornerWidth="5"/> - <graphicsAlgorithmChildren xsi:type="al:Polygon" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="true" transparency="0.0" x="43" y="24"> - <points x="-3" y="-3"/> - <points x="-3" y="3"/> - <points x="-11" y="3"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polygon" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" x="43" y="24"> - <points x="3" y="-3"/> - <points x="3" y="3"/> - <points x="11" y="3"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polygon" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" x="43" y="24"> - <points x="-2" y="-3"/> - <points x="-2" y="3"/> - <points x="2" y="3"/> - <points x="2" y="-3"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#SimpleState:TrafficLightCommands$ConfigSocket"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" outgoingConnections="//@connections.1" incomingConnections="//@connections.0" referencedGraphicsAlgorithm="//@children.0/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.2" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="87" height="30" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="ConfigSocket"/> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="state"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="142" height="90" x="193" y="245"> - <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="82" height="30" x="30" y="30" cornerHeight="20" cornerWidth="20"> - <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="15" height="8" x="57" y="3" cornerHeight="5" cornerWidth="5"/> - <graphicsAlgorithmChildren xsi:type="al:Polygon" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" x="41" y="24"> - <points x="-3" y="-3"/> - <points x="-3" y="3"/> - <points x="-11" y="3"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polygon" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" x="41" y="24"> - <points x="3" y="-3"/> - <points x="3" y="3"/> - <points x="11" y="3"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polygon" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" x="41" y="24"> - <points x="-2" y="-3"/> - <points x="-2" y="3"/> - <points x="2" y="3"/> - <points x="2" y="-3"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#SimpleState:TrafficLightCommands$SocketOpen"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" incomingConnections="//@connections.1"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.2" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="82" height="30" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="SocketOpen"/> - </children> - </children> - </children> - <connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="//@children.0/@children.1/@anchors.0" end="//@children.0/@children.2/@anchors.0"> - <properties key="obj-type" value="trans"/> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0"/> - <link> - <businessObjects href="../trafficlight.room#InitialTransition:TrafficLightCommands$initial"/> - </link> - <connectionDecorators visible="true" locationRelative="true" location="1.0"> - <graphicsAlgorithm xsi:type="al:Polygon" background="//@colors.2" foreground="//@colors.2" lineWidth="1" filled="true" transparency="0.0"> - <points x="-15" y="5"/> - <points/> - <points x="-15" y="-5"/> - </graphicsAlgorithm> - </connectionDecorators> - <connectionDecorators visible="true" active="true" locationRelative="true" location="0.5"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" x="10" font="//@fonts.0" value="init"/> - </connectionDecorators> - </connections> - <connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="//@children.0/@children.2/@anchors.0" end="//@children.0/@children.3/@anchors.0"> - <properties key="obj-type" value="trans"/> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0"/> - <link> - <businessObjects href="../trafficlight.room#TriggeredTransition:TrafficLightCommands$tr0"/> - </link> - <connectionDecorators visible="true" locationRelative="true" location="1.0"> - <graphicsAlgorithm xsi:type="al:Polygon" background="//@colors.1" foreground="//@colors.2" lineWidth="1" filled="true" transparency="0.0"> - <points x="-15" y="5"/> - <points/> - <points x="-15" y="-5"/> - </graphicsAlgorithm> - </connectionDecorators> - <connectionDecorators visible="true" active="true" locationRelative="true" location="0.5"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" x="10" font="//@fonts.0" value="tr0: <established:so..."/> - </connectionDecorators> - </connections> - <colors red="227" green="238" blue="249"/> - <colors red="255" green="255" blue="255"/> - <colors/> - <colors red="200" green="200" blue="200"/> - <fonts name="Arial" size="8"/> - <fonts name="Arial" size="9" bold="true"/> -</pi:Diagram> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.config b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.config deleted file mode 100644 index 397967f98..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.config +++ /dev/null @@ -1,6 +0,0 @@ -ConfigModel trafficlight.example.config { - - import trafficlight.example.* from "trafficlight.room" - - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.etmap b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.etmap deleted file mode 100644 index a9a61742a..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.etmap +++ /dev/null @@ -1,10 +0,0 @@ -MappingModel MappingModel1 { - import TrafficlightModel.* from "trafficlight.room" - import TrafficLightPhysicalModel.* from "trafficlight.etphys" - Mapping TrafficlightLogSys -> PhysicalSys { - SubSystemMapping subsystem -> node1 { - ThreadMapping defaultThread -> PhysicalThread1 - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.etphys b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.etphys deleted file mode 100644 index d08e35e2e..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.etphys +++ /dev/null @@ -1,26 +0,0 @@ -PhysicalModel TrafficLightPhysicalModel { - - PhysicalSystem PhysicalSys { - NodeRef node1 : NodeClass1 - } - - NodeClass NodeClass1 { - runtime = RuntimeClass1 - priomin = -10 - priomax = 10 - - DefaultThread PhysicalThread1 { - execmode = mixed - interval = 100ms - prio = 0 - stacksize = 1024 - msgblocksize = 32 - msgpoolsize = 10 - } - } - - RuntimeClass RuntimeClass1 { - model = multiThreaded - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.room deleted file mode 100644 index 943f487da..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step1/trafficlight.room +++ /dev/null @@ -1,79 +0,0 @@ -RoomModel TrafficlightModel { - - import room.basic.types.* from "../../../org.eclipse.etrice.modellib.java/model/Types.room" - import room.basic.service.timing.* from "../../../org.eclipse.etrice.modellib.java/model/TimingService.room" - import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.java/model/TcpService.room" - - LogicalSystem TrafficlightLogSys { - SubSystemRef subsystem:SubSys - } - SubSystemClass SubSys { - ActorRef application:Application - LogicalThread defaultThread - } - ActorClass Application { - Structure { - ActorRef commands: TrafficLightCommands - } - Behavior { } - } - - ActorClass TrafficLightCommands { - Interface { - Port fct: PTrafficLightCommands - } - Structure { - external Port fct - conjugated Port socketControl: PTcpControl - conjugated Port socketPayload: PTcpPayload - ActorRef socket: ATcpClient - Binding socketControl and socket.ControlPort - Binding socketPayload and socket.PayloadPort - Attribute socketConfig: DTcpControl - - } - Behavior { - StateMachine { - Transition init: initial -> ConfigSocket { - action { - "socketConfig = new DTcpControl(\"localhost\", 4441);" - } - } - Transition tr0: ConfigSocket -> SocketOpen { - triggers { - <established: socketControl> - } - } - State ConfigSocket { - entry { - "socketControl.open(socketConfig);" - } - } - State SocketOpen { - entry { - "String payload = new String(\"carLights=red\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - } - } - } - - ProtocolClass PTrafficLightCommands { - incoming { - Message carRed() - Message carYellow() - Message carYellowRed() - Message carGreen() - Message carOff() - - Message pedRed() - Message pedGreen() - Message pedOff() - - } - outgoing { - Message pressedButton() - } - } -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.config b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.config deleted file mode 100644 index 397967f98..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.config +++ /dev/null @@ -1,6 +0,0 @@ -ConfigModel trafficlight.example.config { - - import trafficlight.example.* from "trafficlight.room" - - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.etmap b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.etmap deleted file mode 100644 index a9a61742a..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.etmap +++ /dev/null @@ -1,10 +0,0 @@ -MappingModel MappingModel1 { - import TrafficlightModel.* from "trafficlight.room" - import TrafficLightPhysicalModel.* from "trafficlight.etphys" - Mapping TrafficlightLogSys -> PhysicalSys { - SubSystemMapping subsystem -> node1 { - ThreadMapping defaultThread -> PhysicalThread1 - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.etphys b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.etphys deleted file mode 100644 index d08e35e2e..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.etphys +++ /dev/null @@ -1,26 +0,0 @@ -PhysicalModel TrafficLightPhysicalModel { - - PhysicalSystem PhysicalSys { - NodeRef node1 : NodeClass1 - } - - NodeClass NodeClass1 { - runtime = RuntimeClass1 - priomin = -10 - priomax = 10 - - DefaultThread PhysicalThread1 { - execmode = mixed - interval = 100ms - prio = 0 - stacksize = 1024 - msgblocksize = 32 - msgpoolsize = 10 - } - } - - RuntimeClass RuntimeClass1 { - model = multiThreaded - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.room deleted file mode 100644 index a09c80c0e..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step2/trafficlight.room +++ /dev/null @@ -1,221 +0,0 @@ -RoomModel TrafficlightModel { - - import room.basic.types.* from "../../../org.eclipse.etrice.modellib.java/model/Types.room" - import room.basic.service.timing.* from "../../../org.eclipse.etrice.modellib.java/model/TimingService.room" - import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.java/model/TcpService.room" - - LogicalSystem TrafficlightLogSys { - SubSystemRef subsystem:SubSys - } - SubSystemClass SubSys { - ActorRef application:Application - ActorRef timingService: ATimingService - LayerConnection ref application satisfied_by timingService.timer - LogicalThread defaultThread - } - ActorClass Application { - Structure { - ActorRef commands: TrafficLightCommands - ActorRef controller: TrafficLightController - Binding controller.tlCommands and commands.fct - } - Behavior { } - } - - ActorClass TrafficLightController { - Interface { - conjugated Port tlCommands: PTrafficLightCommands - } - Structure { - external Port tlCommands - SAP timeout: PTimer - - } - Behavior { - StateMachine { - Transition init: initial -> InitCommands { } - Transition tr0: InitCommands -> tp0 of Blinking { - triggers { - <doneInit: tlCommands> - } - } - State InitCommands { - entry { - "tlCommands.startInit();" - } - } - State Blinking { - entry { - "tlCommands.carYellow();" - } - subgraph { - Transition tr0: my tp0 -> On - Transition tr1: On -> Off { - triggers { - <timeout: timeout> - } - } - Transition tr2: Off -> On { - triggers { - <timeout: timeout> - } - } - EntryPoint tp0 - State On { - entry { - "tlCommands.carYellow();" - "timeout.startTimeout(500);" - } - exit { - "tlCommands.carOff();" - } - } - State Off { - entry { - "timeout.startTimeout(500);" - } - } - } - } - } - } - } - - ActorClass TrafficLightCommands { - Interface { - Port fct: PTrafficLightCommands - } - Structure { - external Port fct - conjugated Port socketControl: PTcpControl - conjugated Port socketPayload: PTcpPayload - ActorRef socket: ATcpClient - Binding socketControl and socket.ControlPort - Binding socketPayload and socket.PayloadPort - Attribute socketConfig: DTcpControl - - } - Behavior { - StateMachine { - Transition init: initial -> NotInitialized { - action { - "socketConfig = new DTcpControl(\"localhost\", 4441);" - } - } - Transition tr0: ConfigSocket -> SocketOpen { - triggers { - <established: socketControl> - } - action { - "fct.doneInit();" - } - } - Transition tr1: SocketOpen -> SocketOpen { - triggers { - <carRed: fct> - } - action { - "String payload = new String(\"carLights=red\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr2: SocketOpen -> SocketOpen { - triggers { - <carYellow: fct> - } - action { - "String payload = new String(\"carLights=yellow\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr3: SocketOpen -> SocketOpen { - triggers { - <carGreen: fct> - } - action { - "String payload = new String(\"carLights=green\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr4: SocketOpen -> SocketOpen { - triggers { - <carOff: fct> - } - action { - "String payload = new String(\"carLights=off\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr5: SocketOpen -> SocketOpen { - triggers { - <pedRed: fct> - } - action { - "String payload = new String(\"pedLights=red\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr6: SocketOpen -> SocketOpen { - triggers { - <pedGreen: fct> - } - action { - "String payload = new String(\"pedLights=green\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr7: SocketOpen -> SocketOpen { - triggers { - <pedOff: fct> - } - action { - "String payload = new String(\"pedLights=off\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr8: SocketOpen -> SocketOpen { - triggers { - <receive: socketPayload> - } - action { - "fct.pressedButton();" - } - } - Transition tr9: NotInitialized -> ConfigSocket { - triggers { - <startInit: fct> - } - } - State ConfigSocket { - entry { - "socketControl.open(socketConfig);" - } - } - State SocketOpen - State NotInitialized - } - } - } - - ProtocolClass PTrafficLightCommands { - incoming { - Message startInit() - - Message carRed() - Message carYellow() - Message carYellowRed() - Message carGreen() - Message carOff() - - Message pedRed() - Message pedGreen() - Message pedOff() - - } - outgoing { - Message doneInit() - - Message pressedButton() - } - } -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.config b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.config deleted file mode 100644 index 397967f98..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.config +++ /dev/null @@ -1,6 +0,0 @@ -ConfigModel trafficlight.example.config { - - import trafficlight.example.* from "trafficlight.room" - - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.etmap b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.etmap deleted file mode 100644 index a9a61742a..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.etmap +++ /dev/null @@ -1,10 +0,0 @@ -MappingModel MappingModel1 { - import TrafficlightModel.* from "trafficlight.room" - import TrafficLightPhysicalModel.* from "trafficlight.etphys" - Mapping TrafficlightLogSys -> PhysicalSys { - SubSystemMapping subsystem -> node1 { - ThreadMapping defaultThread -> PhysicalThread1 - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.etphys b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.etphys deleted file mode 100644 index d08e35e2e..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.etphys +++ /dev/null @@ -1,26 +0,0 @@ -PhysicalModel TrafficLightPhysicalModel { - - PhysicalSystem PhysicalSys { - NodeRef node1 : NodeClass1 - } - - NodeClass NodeClass1 { - runtime = RuntimeClass1 - priomin = -10 - priomax = 10 - - DefaultThread PhysicalThread1 { - execmode = mixed - interval = 100ms - prio = 0 - stacksize = 1024 - msgblocksize = 32 - msgpoolsize = 10 - } - } - - RuntimeClass RuntimeClass1 { - model = multiThreaded - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.room deleted file mode 100644 index 7aea04317..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step3/trafficlight.room +++ /dev/null @@ -1,358 +0,0 @@ -RoomModel TrafficlightModel { - - import room.basic.types.* from "../../../org.eclipse.etrice.modellib.java/model/Types.room" - import room.basic.service.timing.* from "../../../org.eclipse.etrice.modellib.java/model/TimingService.room" - import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.java/model/TcpService.room" - - LogicalSystem TrafficlightLogSys { - SubSystemRef subsystem:SubSys - } - SubSystemClass SubSys { - ActorRef application:Application - ActorRef timingService: ATimingService - LayerConnection ref application satisfied_by timingService.timer - LogicalThread defaultThread - } - ActorClass Application { - Structure { - ActorRef controller: TrafficLightController - ActorRef coordinator: TrafficLightCoordinator - ActorRef tsCommands: TrafficLightCommands - Binding coordinator.controller and controller.fct - Binding controller.tlCommands and tsCommands.fct - } - Behavior { } - } - - ActorClass TrafficLightCoordinator { - Interface { - conjugated Port controller [*]: PTrafficLightController - } - Structure { - external Port controller - SAP timeout: PTimer - - } - Behavior { - StateMachine { - Transition init: initial -> Idle { } - Transition tr0: Idle -> Running { - triggers { - <timeout: timeout> - } - } - Transition tr1: Running -> Off { - triggers { - <timeout: timeout> - } - } - Transition tr2: Off -> Running { - triggers { - <timeout: timeout> - } - } - State Idle { - entry { - "timeout.startTimeout(3000);" - } - } - State Running { - entry { - "timeout.startTimeout(20000);" - "controller.setOn();" - } - } - State Off { - entry { - "timeout.startTimeout(20000);" - "controller.setOff();" - } - } - } - } - } - - ActorClass TrafficLightController { - Interface { - Port fct: PTrafficLightController - conjugated Port tlCommands: PTrafficLightCommands - } - Structure { - external Port fct - external Port tlCommands - SAP timeout: PTimer - } - Behavior { - StateMachine { - Transition init: initial -> InitCommands { } - Transition tr0: InitCommands -> tp0 of Blinking { - triggers { - <doneInit: tlCommands> - } - } - Transition tr1: Blinking -> tp0 of Working { - triggers { - <setOn: fct> - } - } - Transition tr2: Working -> tp0 of Blinking { - triggers { - <setOff: fct> - } - } - State InitCommands { - entry { - "tlCommands.startInit();" - } - } - State Blinking { - entry { - "tlCommands.carYellow();" - } - exit { - "timeout.kill();" - } - subgraph { - Transition tr0: my tp0 -> On - Transition tr1: On -> Off { - triggers { - <timeout: timeout> - } - } - Transition tr2: Off -> On { - triggers { - <timeout: timeout> - } - } - EntryPoint tp0 - State On { - entry { - "tlCommands.carYellow();" - "tlCommands.pedRed();" - "timeout.startTimeout(500);" - } - exit { - "tlCommands.carOff();" - "tlCommands.pedOff();" - } - } - State Off { - entry { - "timeout.startTimeout(500);" - } - } - } - } - State Working { - subgraph { - Transition tr0: my tp0 -> AllRed - Transition tr1: AllRed -> CarGreen { - triggers { - <timeout: timeout> - } - } - Transition tr2: PedGreen -> AllRed { - triggers { - <timeout: timeout> - } - } - Transition tr3: CarGreen -> CarYellow { - triggers { - <timeout: timeout> - } - } - Transition tr4: CarYellow -> CarRed { - triggers { - <timeout: timeout> - } - } - Transition tr5: CarRed -> PedGreen { - triggers { - <timeout: timeout> - } - } - EntryPoint tp0 - State AllRed { - entry { - "tlCommands.carRed();" - "tlCommands.pedRed();" - "timeout.startTimeout(1000);" - } - } - State CarGreen { - entry { - "tlCommands.carGreen();" - "timeout.startTimeout(3000);" - } - } - State CarYellow { - entry { - "tlCommands.carYellow();" - "timeout.startTimeout(1000);" - } - } - State CarRed { - entry { - "tlCommands.carRed();" - "timeout.startTimeout(1000);" - } - } - State PedGreen { - entry { - "tlCommands.pedGreen();" - "timeout.startTimeout(3000);" - } - } - } - } - } - } - } - - ActorClass TrafficLightCommands { - Interface { - Port fct: PTrafficLightCommands - } - Structure { - external Port fct - conjugated Port socketControl: PTcpControl - conjugated Port socketPayload: PTcpPayload - ActorRef socket: ATcpClient - Binding socketPayload and socket.PayloadPort - Binding socketControl and socket.ControlPort - Attribute socketConfig: DTcpControl - - } - Behavior { - StateMachine { - Transition init: initial -> NotInitialized { - action { - "socketConfig = new DTcpControl(\"localhost\", 4441);" - } - } - Transition tr0: ConfigSocket -> SocketOpen { - triggers { - <established: socketControl> - } - action { - "fct.doneInit();" - } - } - Transition tr1: SocketOpen -> SocketOpen { - triggers { - <carRed: fct> - } - action { - "String payload = new String(\"carLights=red\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr2: SocketOpen -> SocketOpen { - triggers { - <carYellow: fct> - } - action { - "String payload = new String(\"carLights=yellow\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr3: SocketOpen -> SocketOpen { - triggers { - <carGreen: fct> - } - action { - "String payload = new String(\"carLights=green\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr4: SocketOpen -> SocketOpen { - triggers { - <carOff: fct> - } - action { - "String payload = new String(\"carLights=off\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr5: SocketOpen -> SocketOpen { - triggers { - <pedRed: fct> - } - action { - "String payload = new String(\"pedLights=red\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr6: SocketOpen -> SocketOpen { - triggers { - <pedGreen: fct> - } - action { - "String payload = new String(\"pedLights=green\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr7: SocketOpen -> SocketOpen { - triggers { - <pedOff: fct> - } - action { - "String payload = new String(\"pedLights=off\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr8: SocketOpen -> SocketOpen { - triggers { - <receive: socketPayload> - } - action { - "fct.pressedButton();" - } - } - Transition tr9: NotInitialized -> ConfigSocket { - triggers { - <startInit: fct> - } - } - State ConfigSocket { - entry { - "socketControl.open(socketConfig);" - "" - "System.out.println(\"ConfigSocket: open\");" - } - } - State SocketOpen - State NotInitialized - } - } - } - - ProtocolClass PTrafficLightController { - incoming { - Message setOn() - Message setOff() - } - } - - ProtocolClass PTrafficLightCommands { - incoming { - Message startInit() - - Message carRed() - Message carYellow() - Message carYellowRed() - Message carGreen() - Message carOff() - - Message pedRed() - Message pedGreen() - Message pedOff() - - } - outgoing { - Message doneInit() - - Message pressedButton() - } - } -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.Application.structure b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.Application.structure deleted file mode 100644 index 2fe515930..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.Application.structure +++ /dev/null @@ -1,749 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" diagramTypeId="room.structure" name="Structure of Application" pictogramLinks="//@link //@children.0/@link //@children.0/@children.0/@link //@children.0/@children.1/@link //@children.0/@children.2/@link //@children.0/@children.3/@link //@children.0/@children.4/@link //@children.0/@children.3/@children.2/@link //@children.0/@children.1/@children.2/@link //@children.0/@children.0/@children.2/@link //@children.0/@children.0/@children.3/@link //@children.0/@children.2/@children.2/@link //@children.0/@children.4/@children.2/@link //@children.0/@children.4/@children.3/@link //@connections.0/@link //@connections.1/@link //@connections.2/@link //@connections.3/@link" verticalGridUnit="0" version="0.10.0"> - <graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/> - <link> - <businessObjects href="../trafficlight.room#ActorClass:Application"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="cls"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="880" height="580" x="40" y="40"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="1" lineVisible="false" transparency="0.5" width="800" height="500" x="40" y="40"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="4" filled="false" transparency="0.0" width="800" height="500" x="40" y="40"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorClass:Application"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="ref"/> - <properties key="actorref_version" value="2"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="240" height="140" x="26" y="160"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="180" height="80" x="33" y="27"> - <properties key="actorref_graphic_element" value="replborder"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="180" height="80" x="30" y="30"> - <properties key="actorref_graphic_element" value="mainborder"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="150" y="50"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="145" y="65"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="15"/> - <points x="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="30"/> - <points x="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="45"/> - <points x="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="60"/> - <points x="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="75"/> - <points x="75"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="10" y="80"/> - <points x="90"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="25" y="80"/> - <points x="105"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="40" y="80"/> - <points x="120"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="55" y="80"/> - <points x="135"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="70" y="80"/> - <points x="150"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="85" y="80"/> - <points x="165"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="100" y="80"/> - <points x="180"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="115" y="80"/> - <points x="180" y="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="130" y="80"/> - <points x="180" y="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="145" y="80"/> - <points x="180" y="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="160" y="80"/> - <points x="180" y="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="175" y="80"/> - <points x="180" y="75"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="25" height="25" x="185" y="30"> - <properties key="actorref_graphic_element" value="sizeframe"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorRef:Application$controller"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.0/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"> - <properties key="actorref_graphic_element" value="layerconn_anchor"/> - </anchors> - <children visible="true"> - <properties key="actorref_graphic_element" value="name_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="180" height="80" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="controller
(TrafficLightController)"/> - </children> - <children> - <properties key="actorref_graphic_element" value="size_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="25" height="25" x="185" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="1"/> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value=""/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60" x="59"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.2" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightController$fct"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" incomingConnections="//@connections.0" referencedGraphicsAlgorithm="//@children.0/@children.0/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="fct"/> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value="C"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60" x="119"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightController$tlCommands"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" outgoingConnections="//@connections.1" referencedGraphicsAlgorithm="//@children.0/@children.0/@children.3/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="tlCommands"/> - </children> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="ref"/> - <properties key="actorref_version" value="2"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="240" height="140" x="222" y="160"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="180" height="80" x="33" y="27"> - <properties key="actorref_graphic_element" value="replborder"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="180" height="80" x="30" y="30"> - <properties key="actorref_graphic_element" value="mainborder"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="150" y="50"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="145" y="65"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="15"/> - <points x="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="30"/> - <points x="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="45"/> - <points x="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="60"/> - <points x="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="75"/> - <points x="75"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="10" y="80"/> - <points x="90"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="25" y="80"/> - <points x="105"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="40" y="80"/> - <points x="120"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="55" y="80"/> - <points x="135"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="70" y="80"/> - <points x="150"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="85" y="80"/> - <points x="165"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="100" y="80"/> - <points x="180"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="115" y="80"/> - <points x="180" y="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="130" y="80"/> - <points x="180" y="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="145" y="80"/> - <points x="180" y="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="160" y="80"/> - <points x="180" y="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="175" y="80"/> - <points x="180" y="75"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="25" height="25" x="185" y="30"> - <properties key="actorref_graphic_element" value="sizeframe"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorRef:Application$coordinator"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.1/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"> - <properties key="actorref_graphic_element" value="layerconn_anchor"/> - </anchors> - <children visible="true"> - <properties key="actorref_graphic_element" value="name_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="180" height="80" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="coordinator
(TrafficLightCoordinator)"/> - </children> - <children> - <properties key="actorref_graphic_element" value="size_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="25" height="25" x="185" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="1"/> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value="CM"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60" x="90"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="23" y="19"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightCoordinator$controller"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" outgoingConnections="//@connections.0 //@connections.3" referencedGraphicsAlgorithm="//@children.0/@children.1/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="controller"/> - </children> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="ref"/> - <properties key="actorref_version" value="2"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="240" height="140" x="418" y="160"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="180" height="80" x="33" y="27"> - <properties key="actorref_graphic_element" value="replborder"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="180" height="80" x="30" y="30"> - <properties key="actorref_graphic_element" value="mainborder"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="true" transparency="0.0" width="20" height="10" x="150" y="50"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="true" transparency="0.0" width="20" height="10" x="145" y="65"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="15"/> - <points x="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="30"/> - <points x="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="45"/> - <points x="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="60"/> - <points x="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="75"/> - <points x="75"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="10" y="80"/> - <points x="90"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="25" y="80"/> - <points x="105"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="40" y="80"/> - <points x="120"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="55" y="80"/> - <points x="135"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="70" y="80"/> - <points x="150"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="85" y="80"/> - <points x="165"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="100" y="80"/> - <points x="180"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="115" y="80"/> - <points x="180" y="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="130" y="80"/> - <points x="180" y="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="145" y="80"/> - <points x="180" y="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="160" y="80"/> - <points x="180" y="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="175" y="80"/> - <points x="180" y="75"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="25" height="25" x="185" y="30"> - <properties key="actorref_graphic_element" value="sizeframe"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorRef:Application$tsCommands"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"> - <properties key="actorref_graphic_element" value="layerconn_anchor"/> - </anchors> - <children visible="true"> - <properties key="actorref_graphic_element" value="name_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="180" height="80" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="tsCommands
(TrafficLightCommands)"/> - </children> - <children> - <properties key="actorref_graphic_element" value="size_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="25" height="25" x="185" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="1"/> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value=""/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60" x="90"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.2" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightCommands$fct"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" incomingConnections="//@connections.1" referencedGraphicsAlgorithm="//@children.0/@children.2/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="fct"/> - </children> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="ref"/> - <properties key="actorref_version" value="2"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="240" height="140" x="614" y="160"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="180" height="80" x="33" y="27"> - <properties key="actorref_graphic_element" value="replborder"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="180" height="80" x="30" y="30"> - <properties key="actorref_graphic_element" value="mainborder"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="true" transparency="0.0" width="20" height="10" x="150" y="50"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="true" transparency="0.0" width="20" height="10" x="145" y="65"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="15"/> - <points x="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="30"/> - <points x="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="45"/> - <points x="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="60"/> - <points x="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="75"/> - <points x="75"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="10" y="80"/> - <points x="90"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="25" y="80"/> - <points x="105"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="40" y="80"/> - <points x="120"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="55" y="80"/> - <points x="135"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="70" y="80"/> - <points x="150"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="85" y="80"/> - <points x="165"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="100" y="80"/> - <points x="180"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="115" y="80"/> - <points x="180" y="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="130" y="80"/> - <points x="180" y="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="145" y="80"/> - <points x="180" y="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="160" y="80"/> - <points x="180" y="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="175" y="80"/> - <points x="180" y="75"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="25" height="25" x="185" y="30"> - <properties key="actorref_graphic_element" value="sizeframe"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorRef:Application$tlCommands2"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.3/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"> - <properties key="actorref_graphic_element" value="layerconn_anchor"/> - </anchors> - <children visible="true"> - <properties key="actorref_graphic_element" value="name_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="180" height="80" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="tlCommands2
(TrafficLightCommands)"/> - </children> - <children> - <properties key="actorref_graphic_element" value="size_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="25" height="25" x="185" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="1"/> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value=""/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60" x="90"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.2" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightCommands$fct"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" incomingConnections="//@connections.2" referencedGraphicsAlgorithm="//@children.0/@children.3/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="fct"/> - </children> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="ref"/> - <properties key="actorref_version" value="2"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="240" height="140" x="320" y="270"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="180" height="80" x="33" y="27"> - <properties key="actorref_graphic_element" value="replborder"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="180" height="80" x="30" y="30"> - <properties key="actorref_graphic_element" value="mainborder"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="150" y="50"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="145" y="65"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="15"/> - <points x="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="30"/> - <points x="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="45"/> - <points x="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="60"/> - <points x="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="75"/> - <points x="75"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="10" y="80"/> - <points x="90"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="25" y="80"/> - <points x="105"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="40" y="80"/> - <points x="120"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="55" y="80"/> - <points x="135"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="70" y="80"/> - <points x="150"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="85" y="80"/> - <points x="165"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="100" y="80"/> - <points x="180"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="115" y="80"/> - <points x="180" y="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="130" y="80"/> - <points x="180" y="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="145" y="80"/> - <points x="180" y="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="160" y="80"/> - <points x="180" y="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="175" y="80"/> - <points x="180" y="75"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="25" height="25" x="185" y="30"> - <properties key="actorref_graphic_element" value="sizeframe"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorRef:Application$controller2"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.4/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"> - <properties key="actorref_graphic_element" value="layerconn_anchor"/> - </anchors> - <children visible="true"> - <properties key="actorref_graphic_element" value="name_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="180" height="80" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="controller2
(TrafficLightController)"/> - </children> - <children> - <properties key="actorref_graphic_element" value="size_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="25" height="25" x="185" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="1"/> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value=""/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60" x="59"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.2" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightController$fct"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" incomingConnections="//@connections.3" referencedGraphicsAlgorithm="//@children.0/@children.4/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="fct"/> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value="C"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60" x="119"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightController$tlCommands"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" outgoingConnections="//@connections.2" referencedGraphicsAlgorithm="//@children.0/@children.4/@children.3/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="tlCommands"/> - </children> - </children> - </children> - </children> - <connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="//@children.0/@children.1/@children.2/@anchors.0" end="//@children.0/@children.0/@children.2/@anchors.0"> - <properties key="obj-type" value="bind"/> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0"/> - <link> - <businessObjects href="../trafficlight.room#Binding:Application$controller!coordinator-fct!controller"/> - </link> - </connections> - <connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="//@children.0/@children.0/@children.3/@anchors.0" end="//@children.0/@children.2/@children.2/@anchors.0"> - <properties key="obj-type" value="bind"/> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0"/> - <link> - <businessObjects href="../trafficlight.room#Binding:Application$tlCommands!controller-fct!tsCommands"/> - </link> - </connections> - <connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="//@children.0/@children.4/@children.3/@anchors.0" end="//@children.0/@children.3/@children.2/@anchors.0"> - <properties key="obj-type" value="bind"/> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0"/> - <link> - <businessObjects href="../trafficlight.room#Binding:Application$tlCommands!controller2-fct!tlCommands2"/> - </link> - </connections> - <connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="//@children.0/@children.1/@children.2/@anchors.0" end="//@children.0/@children.4/@children.2/@anchors.0"> - <properties key="obj-type" value="bind"/> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0"/> - <link> - <businessObjects href="../trafficlight.room#Binding:Application$controller!coordinator-fct!controller2"/> - </link> - </connections> - <colors red="227" green="238" blue="249"/> - <colors red="255" green="255" blue="255"/> - <colors/> - <colors red="200" green="200" blue="200"/> - <fonts name="Arial" size="8"/> -</pi:Diagram> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.SubSys.structure b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.SubSys.structure deleted file mode 100644 index 55785c311..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.SubSys.structure +++ /dev/null @@ -1,290 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" diagramTypeId="room.structure" name="Structure of SubSys" pictogramLinks="//@link //@children.0/@link //@children.0/@children.0/@link //@children.0/@children.1/@link //@children.0/@children.1/@children.2/@link //@connections.0/@link" verticalGridUnit="0" version="0.10.0"> - <graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/> - <link> - <businessObjects href="../trafficlight.room#SubSystemClass:SubSys"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="cls"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="880" height="580" x="40" y="40"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="1" lineVisible="false" transparency="0.5" width="800" height="500" x="40" y="40"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="4" filled="false" transparency="0.0" width="800" height="500" x="40" y="40"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#SubSystemClass:SubSys"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="ref"/> - <properties key="actorref_version" value="2"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="240" height="140" x="155" y="160"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="180" height="80" x="33" y="27"> - <properties key="actorref_graphic_element" value="replborder"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="180" height="80" x="30" y="30"> - <properties key="actorref_graphic_element" value="mainborder"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="true" transparency="0.0" width="20" height="10" x="150" y="50"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="true" transparency="0.0" width="20" height="10" x="145" y="65"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="15"/> - <points x="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="30"/> - <points x="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="45"/> - <points x="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="60"/> - <points x="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="75"/> - <points x="75"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="10" y="80"/> - <points x="90"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="25" y="80"/> - <points x="105"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="40" y="80"/> - <points x="120"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="55" y="80"/> - <points x="135"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="70" y="80"/> - <points x="150"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="85" y="80"/> - <points x="165"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="100" y="80"/> - <points x="180"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="115" y="80"/> - <points x="180" y="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="130" y="80"/> - <points x="180" y="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="145" y="80"/> - <points x="180" y="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="160" y="80"/> - <points x="180" y="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="175" y="80"/> - <points x="180" y="75"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="25" height="25" x="185" y="30"> - <properties key="actorref_graphic_element" value="sizeframe"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorRef:SubSys$application"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" outgoingConnections="//@connections.0" referencedGraphicsAlgorithm="//@children.0/@children.0/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"> - <properties key="actorref_graphic_element" value="layerconn_anchor"/> - </anchors> - <children visible="true"> - <properties key="actorref_graphic_element" value="name_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="180" height="80" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="application
(Application)"/> - </children> - <children> - <properties key="actorref_graphic_element" value="size_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="25" height="25" x="185" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="1"/> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="ref"/> - <properties key="actorref_version" value="2"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="240" height="140" x="482" y="160"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="180" height="80" x="33" y="27"> - <properties key="actorref_graphic_element" value="replborder"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="180" height="80" x="30" y="30"> - <properties key="actorref_graphic_element" value="mainborder"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="150" y="50"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="145" y="65"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="15"/> - <points x="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="30"/> - <points x="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="45"/> - <points x="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="60"/> - <points x="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="75"/> - <points x="75"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="10" y="80"/> - <points x="90"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="25" y="80"/> - <points x="105"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="40" y="80"/> - <points x="120"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="55" y="80"/> - <points x="135"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="70" y="80"/> - <points x="150"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="85" y="80"/> - <points x="165"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="100" y="80"/> - <points x="180"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="115" y="80"/> - <points x="180" y="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="130" y="80"/> - <points x="180" y="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="145" y="80"/> - <points x="180" y="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="160" y="80"/> - <points x="180" y="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="175" y="80"/> - <points x="180" y="75"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="25" height="25" x="185" y="30"> - <properties key="actorref_graphic_element" value="sizeframe"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorRef:SubSys$timingService"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.1/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"> - <properties key="actorref_graphic_element" value="layerconn_anchor"/> - </anchors> - <children visible="true"> - <properties key="actorref_graphic_element" value="name_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="180" height="80" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="timingService
(ATimingService)"/> - </children> - <children> - <properties key="actorref_graphic_element" value="size_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="25" height="25" x="185" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="1"/> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value=""/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60"> - <graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.2" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="platform:/resource/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/../../../org.eclipse.etrice.modellib.java/model/TimingService.room#SPP:ATimingService$timer"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" incomingConnections="//@connections.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="timer"/> - </children> - </children> - </children> - </children> - <connections xsi:type="pi:ManhattanConnection" visible="true" active="true" start="//@children.0/@children.0/@anchors.0" end="//@children.0/@children.1/@children.2/@anchors.0"> - <properties key="obj-type" value="conn"/> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="2" filled="false" transparency="0.0"/> - <link> - <businessObjects href="../trafficlight.room#LayerConnection:SubSys$application-timingService!timer"/> - </link> - <connectionDecorators visible="true" locationRelative="true" location="1.0"> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="2" filled="false" transparency="0.0"> - <points x="-15" y="10"/> - <points/> - <points x="-15" y="-10"/> - </graphicsAlgorithm> - </connectionDecorators> - </connections> - <colors red="227" green="238" blue="249"/> - <colors red="255" green="255" blue="255"/> - <colors/> - <colors red="200" green="200" blue="200"/> - <fonts name="Arial" size="8"/> -</pi:Diagram> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.TrafficLightCommands.structure b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.TrafficLightCommands.structure deleted file mode 100644 index 12e05ad7d..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.TrafficLightCommands.structure +++ /dev/null @@ -1,229 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" diagramTypeId="room.structure" name="Structure of TrafficLightCommands" pictogramLinks="//@link //@children.0/@link //@children.0/@children.0/@link //@children.0/@children.0/@children.2/@link //@children.0/@children.0/@children.3/@link //@children.0/@children.1/@link //@children.0/@children.2/@link //@children.0/@children.3/@link //@connections.0/@link //@connections.1/@link" verticalGridUnit="0" version="0.10.0"> - <graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/> - <link> - <businessObjects href="../trafficlight.room#ActorClass:TrafficLightCommands"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="cls"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="880" height="580" x="40" y="40"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="1" lineVisible="false" transparency="0.5" width="800" height="500" x="40" y="40"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="4" filled="false" transparency="0.0" width="800" height="500" x="40" y="40"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorClass:TrafficLightCommands"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="ref"/> - <properties key="actorref_version" value="2"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="240" height="140" x="320" y="160"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="180" height="80" x="33" y="27"> - <properties key="actorref_graphic_element" value="replborder"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="180" height="80" x="30" y="30"> - <properties key="actorref_graphic_element" value="mainborder"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="150" y="50"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="20" height="10" x="145" y="65"> - <properties key="actorref_graphic_element" value="substructure"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="15"/> - <points x="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="30"/> - <points x="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="45"/> - <points x="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="60"/> - <points x="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points y="75"/> - <points x="75"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="10" y="80"/> - <points x="90"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="25" y="80"/> - <points x="105"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="40" y="80"/> - <points x="120"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="55" y="80"/> - <points x="135"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="70" y="80"/> - <points x="150"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="85" y="80"/> - <points x="165"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="100" y="80"/> - <points x="180"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="115" y="80"/> - <points x="180" y="15"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="130" y="80"/> - <points x="180" y="30"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="145" y="80"/> - <points x="180" y="45"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="160" y="80"/> - <points x="180" y="60"/> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineStyle="UNSPECIFIED" lineVisible="false" transparency="0.4"> - <properties key="actorref_graphic_element" value="hatched_line"/> - <points x="175" y="80"/> - <points x="180" y="75"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithmChildren> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="25" height="25" x="185" y="30"> - <properties key="actorref_graphic_element" value="sizeframe"/> - </graphicsAlgorithmChildren> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorRef:TrafficLightCommands$socket"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.0/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"> - <properties key="actorref_graphic_element" value="layerconn_anchor"/> - </anchors> - <children visible="true"> - <properties key="actorref_graphic_element" value="name_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="180" height="80" x="30" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="socket
(ATcpClient)"/> - </children> - <children> - <properties key="actorref_graphic_element" value="size_shape"/> - <graphicsAlgorithm xsi:type="al:Text" background="//@colors.3" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="25" height="25" x="185" y="30" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="1"/> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value=""/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.2" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="platform:/resource/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/../../../org.eclipse.etrice.modellib.java/model/TcpService.room#Port:ATcpClient$ControlPort"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" incomingConnections="//@connections.1" referencedGraphicsAlgorithm="//@children.0/@children.0/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="ControlPort"/> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value=""/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="60" height="60"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.2" foreground="//@colors.2" lineWidth="1" transparency="0.0" width="18" height="18" x="21" y="21"/> - </graphicsAlgorithm> - <link> - <businessObjects href="platform:/resource/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/../../../org.eclipse.etrice.modellib.java/model/TcpService.room#Port:ATcpClient$PayloadPort"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" incomingConnections="//@connections.0" referencedGraphicsAlgorithm="//@children.0/@children.0/@children.3/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="60" height="15" y="6" font="//@fonts.0" value="PayloadPort"/> - </children> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value=""/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="80" height="80" x="400"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.2" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="40" height="40" x="20" y="20"/> - <graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.1" foreground="//@colors.1" lineWidth="2" transparency="0.0" width="20" height="20" x="30" y="30"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightCommands$fct"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.1/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="80" height="20" font="//@fonts.0" value="fct"/> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value="C"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="80" height="80" x="265" y="60"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="40" height="40" x="20" y="20"/> - <graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.2" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="20" height="20" x="30" y="30"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightCommands$socketControl"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" outgoingConnections="//@connections.1" referencedGraphicsAlgorithm="//@children.0/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="80" height="20" font="//@fonts.0" value="socketControl"/> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value="C"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="80" height="80" x="532" y="60"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="40" height="40" x="20" y="20"/> - <graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.2" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="20" height="20" x="30" y="30"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightCommands$socketPayload"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" outgoingConnections="//@connections.0" referencedGraphicsAlgorithm="//@children.0/@children.3/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="80" height="20" font="//@fonts.0" value="socketPayload"/> - </children> - </children> - </children> - <connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="//@children.0/@children.3/@anchors.0" end="//@children.0/@children.0/@children.3/@anchors.0"> - <properties key="obj-type" value="bind"/> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0"/> - <link> - <businessObjects href="../trafficlight.room#Binding:TrafficLightCommands$socketPayload!.-PayloadPort!socket"/> - </link> - </connections> - <connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="//@children.0/@children.2/@anchors.0" end="//@children.0/@children.0/@children.2/@anchors.0"> - <properties key="obj-type" value="bind"/> - <graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0"/> - <link> - <businessObjects href="../trafficlight.room#Binding:TrafficLightCommands$socketControl!.-ControlPort!socket"/> - </link> - </connections> - <colors red="227" green="238" blue="249"/> - <colors red="255" green="255" blue="255"/> - <colors/> - <colors red="200" green="200" blue="200"/> - <fonts name="Arial" size="8"/> -</pi:Diagram> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.TrafficLightController.structure b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.TrafficLightController.structure deleted file mode 100644 index 479a3bbb8..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.TrafficLightController.structure +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" diagramTypeId="room.structure" name="Structure of TrafficLightController" pictogramLinks="//@link //@children.0/@link //@children.0/@children.0/@link //@children.0/@children.1/@link" verticalGridUnit="0" version="0.10.0"> - <graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/> - <link> - <businessObjects href="../trafficlight.room#ActorClass:TrafficLightController"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="cls"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="880" height="580" x="40" y="40"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="1" lineVisible="false" transparency="0.5" width="800" height="500" x="40" y="40"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="4" filled="false" transparency="0.0" width="800" height="500" x="40" y="40"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorClass:TrafficLightController"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value=""/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="80" height="80" x="265"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.2" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="40" height="40" x="20" y="20"/> - <graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.1" foreground="//@colors.1" lineWidth="2" transparency="0.0" width="20" height="20" x="30" y="30"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightController$fct"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.0/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="80" height="20" font="//@fonts.0" value="fct"/> - </children> - </children> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value="C"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="80" height="80" x="532"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="40" height="40" x="20" y="20"/> - <graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.2" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="20" height="20" x="30" y="30"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightController$tlCommands"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.1/@graphicsAlgorithm/@graphicsAlgorithmChildren.0"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="80" height="20" font="//@fonts.0" value="tlCommands"/> - </children> - </children> - </children> - <colors red="227" green="238" blue="249"/> - <colors red="255" green="255" blue="255"/> - <colors/> - <fonts name="Arial" size="8"/> -</pi:Diagram> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.TrafficLightCoordinator.structure b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.TrafficLightCoordinator.structure deleted file mode 100644 index 31b4cdc40..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/diagrams/TrafficlightModel.TrafficLightCoordinator.structure +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" diagramTypeId="room.structure" name="Structure of TrafficLightCoordinator" pictogramLinks="//@link //@children.0/@link //@children.0/@children.0/@link" verticalGridUnit="0" version="0.10.0"> - <graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/> - <link> - <businessObjects href="../trafficlight.room#ActorClass:TrafficLightCoordinator"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="cls"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="880" height="580" x="40" y="40"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="1" lineVisible="false" transparency="0.5" width="800" height="500" x="40" y="40"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" foreground="//@colors.2" lineWidth="4" filled="false" transparency="0.0" width="800" height="500" x="40" y="40"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#ActorClass:TrafficLightCoordinator"/> - </link> - <children xsi:type="pi:ContainerShape" visible="true" active="true"> - <properties key="obj-type" value="port"/> - <properties key="item-kind" value="CM"/> - <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="80" height="80" x="400"> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="40" height="40" x="25" y="15"/> - <graphicsAlgorithmChildren xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="40" height="40" x="20" y="20"/> - <graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.2" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="20" height="20" x="30" y="30"/> - </graphicsAlgorithm> - <link> - <businessObjects href="../trafficlight.room#Port:TrafficLightCoordinator$controller"/> - </link> - <anchors xsi:type="pi:ChopboxAnchor" referencedGraphicsAlgorithm="//@children.0/@children.0/@graphicsAlgorithm/@graphicsAlgorithmChildren.1"/> - <children visible="true"> - <graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="80" height="20" font="//@fonts.0" value="controller"/> - </children> - </children> - </children> - <colors red="227" green="238" blue="249"/> - <colors red="255" green="255" blue="255"/> - <colors/> - <fonts name="Arial" size="8"/> -</pi:Diagram> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.config b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.config deleted file mode 100644 index d0693fefe..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.config +++ /dev/null @@ -1,17 +0,0 @@ -ConfigModel trafficlight.example.config { - - import trafficlight.example.* from "trafficlight.room" - ActorInstanceConfig TrafficlightModel.TrafficlightLogSys/subsystem/application/tsCommands { - Attr socketConfig { - Attr IPAddr = "localhost" - Attr TcpPort = 4441 - } - } - ActorInstanceConfig TrafficlightModel.TrafficlightLogSys/subsystem/application/tlCommands2 { - Attr socketConfig { - Attr IPAddr = "localhost" - Attr TcpPort = 4442 - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.etmap b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.etmap deleted file mode 100644 index a9a61742a..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.etmap +++ /dev/null @@ -1,10 +0,0 @@ -MappingModel MappingModel1 { - import TrafficlightModel.* from "trafficlight.room" - import TrafficLightPhysicalModel.* from "trafficlight.etphys" - Mapping TrafficlightLogSys -> PhysicalSys { - SubSystemMapping subsystem -> node1 { - ThreadMapping defaultThread -> PhysicalThread1 - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.etphys b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.etphys deleted file mode 100644 index d08e35e2e..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.etphys +++ /dev/null @@ -1,26 +0,0 @@ -PhysicalModel TrafficLightPhysicalModel { - - PhysicalSystem PhysicalSys { - NodeRef node1 : NodeClass1 - } - - NodeClass NodeClass1 { - runtime = RuntimeClass1 - priomin = -10 - priomax = 10 - - DefaultThread PhysicalThread1 { - execmode = mixed - interval = 100ms - prio = 0 - stacksize = 1024 - msgblocksize = 32 - msgpoolsize = 10 - } - } - - RuntimeClass RuntimeClass1 { - model = multiThreaded - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.room deleted file mode 100644 index 1ff03b0d9..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/demomodel/step4/trafficlight.room +++ /dev/null @@ -1,362 +0,0 @@ -RoomModel TrafficlightModel { - - import room.basic.types.* from "../../../org.eclipse.etrice.modellib.java/model/Types.room" - import room.basic.service.timing.* from "../../../org.eclipse.etrice.modellib.java/model/TimingService.room" - import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.java/model/TcpService.room" - - LogicalSystem TrafficlightLogSys { - SubSystemRef subsystem:SubSys - } - SubSystemClass SubSys { - ActorRef application:Application - ActorRef timingService: ATimingService - LayerConnection ref application satisfied_by timingService.timer - LogicalThread defaultThread - } - ActorClass Application { - Structure { - ActorRef controller: TrafficLightController - ActorRef coordinator: TrafficLightCoordinator - ActorRef tsCommands: TrafficLightCommands - ActorRef tlCommands2: TrafficLightCommands - ActorRef controller2: TrafficLightController - Binding coordinator.controller and controller.fct - Binding controller.tlCommands and tsCommands.fct - Binding controller2.tlCommands and tlCommands2.fct - Binding coordinator.controller and controller2.fct - } - Behavior { } - } - - ActorClass TrafficLightCoordinator { - Interface { - conjugated Port controller [*]: PTrafficLightController - } - Structure { - external Port controller - SAP timeout: PTimer - - } - Behavior { - StateMachine { - Transition init: initial -> Idle { } - Transition tr0: Idle -> Running { - triggers { - <timeout: timeout> - } - } - Transition tr1: Running -> Off { - triggers { - <timeout: timeout> - } - } - Transition tr2: Off -> Running { - triggers { - <timeout: timeout> - } - } - State Idle { - entry { - "timeout.startTimeout(3000);" - } - } - State Running { - entry { - "timeout.startTimeout(20000);" - "controller.setOn();" - } - } - State Off { - entry { - "timeout.startTimeout(20000);" - "controller.setOff();" - } - } - } - } - } - - ActorClass TrafficLightController { - Interface { - Port fct: PTrafficLightController - conjugated Port tlCommands: PTrafficLightCommands - } - Structure { - external Port fct - external Port tlCommands - SAP timeout: PTimer - } - Behavior { - StateMachine { - Transition init: initial -> InitCommands { } - Transition tr0: InitCommands -> tp0 of Blinking { - triggers { - <doneInit: tlCommands> - } - } - Transition tr1: Blinking -> tp0 of Working { - triggers { - <setOn: fct> - } - } - Transition tr2: Working -> tp0 of Blinking { - triggers { - <setOff: fct> - } - } - State InitCommands { - entry { - "tlCommands.startInit();" - } - } - State Blinking { - entry { - "tlCommands.carYellow();" - } - exit { - "timeout.kill();" - } - subgraph { - Transition tr0: my tp0 -> On - Transition tr1: On -> Off { - triggers { - <timeout: timeout> - } - } - Transition tr2: Off -> On { - triggers { - <timeout: timeout> - } - } - EntryPoint tp0 - State On { - entry { - "tlCommands.carYellow();" - "tlCommands.pedRed();" - "timeout.startTimeout(500);" - } - exit { - "tlCommands.carOff();" - "tlCommands.pedOff();" - } - } - State Off { - entry { - "timeout.startTimeout(500);" - } - } - } - } - State Working { - subgraph { - Transition tr0: my tp0 -> AllRed - Transition tr1: AllRed -> CarGreen { - triggers { - <timeout: timeout> - } - } - Transition tr2: PedGreen -> AllRed { - triggers { - <timeout: timeout> - } - } - Transition tr3: CarGreen -> CarYellow { - triggers { - <timeout: timeout> - } - } - Transition tr4: CarYellow -> CarRed { - triggers { - <timeout: timeout> - } - } - Transition tr5: CarRed -> PedGreen { - triggers { - <timeout: timeout> - } - } - EntryPoint tp0 - State AllRed { - entry { - "tlCommands.carRed();" - "tlCommands.pedRed();" - "timeout.startTimeout(1000);" - } - } - State CarGreen { - entry { - "tlCommands.carGreen();" - "timeout.startTimeout(3000);" - } - } - State CarYellow { - entry { - "tlCommands.carYellow();" - "timeout.startTimeout(1000);" - } - } - State CarRed { - entry { - "tlCommands.carRed();" - "timeout.startTimeout(1000);" - } - } - State PedGreen { - entry { - "tlCommands.pedGreen();" - "timeout.startTimeout(3000);" - } - } - } - } - } - } - } - - ActorClass TrafficLightCommands { - Interface { - Port fct: PTrafficLightCommands - } - Structure { - external Port fct - conjugated Port socketControl: PTcpControl - conjugated Port socketPayload: PTcpPayload - ActorRef socket: ATcpClient - Binding socketPayload and socket.PayloadPort - Binding socketControl and socket.ControlPort - Attribute socketConfig: DTcpControl - - } - Behavior { - StateMachine { - Transition init: initial -> NotInitialized { - action { - "//socketConfig = new DTcpControl(\"localhost\", 4441);" - } - } - Transition tr0: ConfigSocket -> SocketOpen { - triggers { - <established: socketControl> - } - action { - "fct.doneInit();" - } - } - Transition tr1: SocketOpen -> SocketOpen { - triggers { - <carRed: fct> - } - action { - "String payload = new String(\"carLights=red\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr2: SocketOpen -> SocketOpen { - triggers { - <carYellow: fct> - } - action { - "String payload = new String(\"carLights=yellow\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr3: SocketOpen -> SocketOpen { - triggers { - <carGreen: fct> - } - action { - "String payload = new String(\"carLights=green\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr4: SocketOpen -> SocketOpen { - triggers { - <carOff: fct> - } - action { - "String payload = new String(\"carLights=off\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr5: SocketOpen -> SocketOpen { - triggers { - <pedRed: fct> - } - action { - "String payload = new String(\"pedLights=red\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr6: SocketOpen -> SocketOpen { - triggers { - <pedGreen: fct> - } - action { - "String payload = new String(\"pedLights=green\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr7: SocketOpen -> SocketOpen { - triggers { - <pedOff: fct> - } - action { - "String payload = new String(\"pedLights=off\\n\");" - "socketPayload.send(new DTcpPayload(0, payload.length(), payload.getBytes() ));" - } - } - Transition tr8: SocketOpen -> SocketOpen { - triggers { - <receive: socketPayload> - } - action { - "fct.pressedButton();" - } - } - Transition tr9: NotInitialized -> ConfigSocket { - triggers { - <startInit: fct> - } - } - State ConfigSocket { - entry { - "socketControl.open(socketConfig);" - "" - "System.out.println(\"ConfigSocket: open\");" - } - } - State SocketOpen - State NotInitialized - } - } - } - - ProtocolClass PTrafficLightController { - incoming { - Message setOn() - Message setOff() - } - } - - ProtocolClass PTrafficLightCommands { - incoming { - Message startInit() - - Message carRed() - Message carYellow() - Message carYellowRed() - Message carGreen() - Message carOff() - - Message pedRed() - Message pedGreen() - Message pedOff() - - } - outgoing { - Message doneInit() - - Message pressedButton() - } - } -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/doc/trafficlight_example.txt b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/doc/trafficlight_example.txt deleted file mode 100644 index ed9df48f7..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/doc/trafficlight_example.txt +++ /dev/null @@ -1,11 +0,0 @@ -How to run trfficlight_demo: - -1. run generator with gen_trafficlight.example.launch -2. start 3 traffic light GUIs in project org.eclipse.etrice.tutorials.simulators.trafficlight : - - run trafficlight_port_4441.launch , trafficlight_port_4442.launch and trafficlight_port_4443.launch -3. trafficlight 4441 and 4442 are coordinated automatically, 4443 reacts on "request" button - -Info: -- .config contains ip-config for all lights -- .etmap and .etphys -> standard - diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/gen_trafficlight.example.launch b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/gen_trafficlight.example.launch deleted file mode 100644 index 76b6b7c38..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/gen_trafficlight.example.launch +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<launchConfiguration type="org.eclipse.etrice.generator.launch.java.launchConfigurationType"> -<booleanAttribute key="Debug" value="true"/> -<booleanAttribute key="GenDocumentation" value="true"/> -<booleanAttribute key="GenInstanceDiagram" value="true"/> -<stringAttribute key="GenModelPath" value=""/> -<booleanAttribute key="Lib" value="false"/> -<booleanAttribute key="MSC" value="true"/> -<listAttribute key="ModelFiles"> -<listEntry value="${workspace_loc:/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.etmap}"/> -<listEntry value="${workspace_loc:/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.config}"/> -</listAttribute> -<booleanAttribute key="Persist" value="false"/> -<booleanAttribute key="SaveGenModel" value="false"/> -<booleanAttribute key="Verbose" value="true"/> -<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${workspace}"/> -<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> -<listEntry value="org.eclipse.debug.ui.launchGroup.run"/> -</listAttribute> -</launchConfiguration> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/PiFinal.config b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/PiFinal.config deleted file mode 100644 index 41d430e89..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/PiFinal.config +++ /dev/null @@ -1,12 +0,0 @@ -ConfigModel trafficlight.example.config { - - import PiModel.* from "PiFinal.room" - - ActorInstanceConfig PiSystem/piSubSys/application/tfIf{ - Attr tcpConfig{ - //Attr IPAddr="localhost" - Attr IPAddr="192.168.137.1" - Attr TcpPort=4441 - } - } -} diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/PiFinal.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/PiFinal.room deleted file mode 100644 index 77aa33e50..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/PiFinal.room +++ /dev/null @@ -1,103 +0,0 @@ -RoomModel PiModel { - import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.java/model/TcpService.room" - import room.basic.types.* from "../../../org.eclipse.etrice.modellib.java/model/Types.room" - import room.basic.service.timing.* from "../../../org.eclipse.etrice.modellib.java/model/TimingService.room" - import trafficlight.connector.* from "trafficlight.connector.room" - - LogicalSystem PiSystem { - SubSystemRef piSubSys:PiSubSys - } - SubSystemClass PiSubSys { - ActorRef application:Application - ActorRef timing: ATimingService - LayerConnection ref application satisfied_by timing.timer - LogicalThread defaultThread - } - ActorClass Application { - Structure { - ActorRef tcpIp: ATcpClient - ActorRef tfIf: TrafficLightInterface - ActorRef controller: Comtroller - ActorRef mqtt: MqttWrapperActor - Binding tfIf.control and tcpIp.ControlPort - Binding tfIf.payload and tcpIp.PayloadPort - Binding controller.traffic and tfIf.fct - Binding controller.mqtt and mqtt.fct - } - Behavior { } - } - - ActorClass Comtroller { - Interface { - conjugated Port traffic: PTrafficLightInterface - conjugated Port mqtt: PMqtt - } - Structure { - external Port traffic - external Port mqtt - SAP timer: PTimer - } - Behavior { - StateMachine { - Transition init: initial -> MQTTInit { } - Transition tr0: Initialize -> tp0 of Initialized { - triggers { - <initialized: traffic> - } - } - Transition tr1: MQTTInit -> Initialize { - triggers { - <connected: mqtt> - } - } - State Initialize { - entry { - "traffic.initialize();" - } - } - State Initialized { - entry { - "traffic.pedRed();" - "mqtt.publish(new DMqttMessage(\"eTrice/TraaficLight/Controller\", \"State: Initialized\", true, 1));" - } - subgraph { - Transition tr0: my tp0 -> On - Transition tr1: On -> Off { - triggers { - <timeout: timer> - } - } - Transition tr2: Off -> On { - triggers { - <timeout: timer> - } - } - EntryPoint tp0 - State On { - entry { - "traffic.pedRed();" - "traffic.carRed();" - "timer.startTimeout(1000);" - } - exit { - "traffic.pedOff();" - "traffic.carOff();" - } - } - State Off { - entry { - "timer.startTimeout(1000);" - } - } - } - } - State MQTTInit { - entry { - "mqtt.connect(new DMqttConfig(\"tcp://m2m.eclipse.org:1883\", \"eTrice-Paho-Tester\"));" - } - } - } - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/etrice.example.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/etrice.example.room deleted file mode 100644 index 4f7cfb59f..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/etrice.example.room +++ /dev/null @@ -1,227 +0,0 @@ -RoomModel etrice.example { - - import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.java/model/TcpService.room" - - import room.basic.types.* from "../../../org.eclipse.etrice.modellib.java/model/Types.room" - - import room.basic.service.timing.* from "../../../org.eclipse.etrice.modellib.java/model/TimingService.room" - - LogicalSystem System { - SubSystemRef SubSysRefName: SubSys - } - - SubSystemClass SubSys { - ActorRef application: Application - ActorRef timingService: ATimingService - LayerConnection ref application satisfied_by timingService.timer - LogicalThread defaultThread - } - - ActorClass Application { - Structure { - ActorRef trafficLightIF: TrafficLightIF - ActorRef trafficLightSocket: ATcpClient - ActorRef controller: TrafficLightController - Binding trafficLightIF.control and trafficLightSocket.ControlPort - Binding trafficLightIF.payload and trafficLightSocket.PayloadPort - Binding controller.trafficLight and trafficLightIF.fct - } - Behavior { } - } - - ActorClass TrafficLightIF { - Interface { - conjugated Port control: PTcpControl - conjugated Port payload: PTcpPayload - Port fct: PTrafficLightIF - } - Structure { - external Port control - external Port payload - external Port fct - SAP timeout: PTimer - } - Behavior { - StateMachine { - Transition init: initial -> NotInitialized { } - Transition tr0: Init -> tp0 of Initialized_Blinking { - triggers { - <established: control> - } - } - Transition tr2: Initialized_Blinking -> AllRed { - triggers { - <onForCars: fct> - } - } - Transition tr1: AllRed -> CarGreen { - triggers { - <timeout: timeout> - } - } - Transition tr3: Initialized_Blinking -> AllRed2 { - triggers { - <onForPeds: fct> - } - } - Transition tr4: AllRed2 -> PedGreen { - triggers { - <timeout: timeout> - } - } - Transition tr5: PedGreen -> AllRed { - triggers { - <onForCars: fct> - } - } - Transition tr6: CarGreen -> AllRed2 { - triggers { - <onForPeds: fct> - } - } - Transition tr7: NotInitialized -> Init { - triggers { - <initialize: fct> - } - } - State Init { - entry { - "control.open(new DTcpControl(\"localhost\", 4441));\n\n" - } - } - State Initialized_Blinking { - entry { - "fct.initialized();" - } - subgraph { - Transition tr0: my tp0 -> ON - Transition tr1: ON -> OFF { - triggers { - <timeout: timeout> - } - } - Transition tr2: OFF -> ON { - triggers { - <timeout: timeout> - } - } - EntryPoint tp0 - State ON { - entry { - "String text = new String(\"carLights=yellow\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\ntimeout.startTimeout(500);" - } - exit { - "String text = new String(\"carLights=off\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\n" - } - } - State OFF { - entry { - "timeout.startTimeout(500);" - } - } - } - } - State AllRed { - entry { - "String text = new String(\"carLights=red\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\ntext = new String(\"pedLights=red\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\ntimeout.startTimeout(3000);" - } - } - State CarGreen { - entry { - "String text = new String(\"carLights=green\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\ntext = new String(\"pedLights=red\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\nfct.onForCarsDone();" - } - } - State AllRed2 { - entry { - "String text = new String(\"carLights=red\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\ntext = new String(\"pedLights=red\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\ntimeout.startTimeout(3000);\n" - } - } - State PedGreen { - entry { - "String text = new String(\"carLights=red\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\ntext = new String(\"pedLights=green\\n\");\npayload.send(new DTcpPayload(1, text.length(), text.getBytes()));\nfct.onForPedsDone();\n" - } - } - State NotInitialized - } - } - } - - ActorClass TrafficLightController { - Interface { - conjugated Port trafficLight: PTrafficLightIF - } - Structure { - external Port trafficLight - SAP timeout: PTimer - } - Behavior { - StateMachine { - Transition init: initial -> Init { } - Transition tr0: Init -> OnForCars { - triggers { - <initialized: trafficLight> - } - } - Transition tr1: OnForCars -> WaitABit1 { - triggers { - <onForCarsDone: trafficLight> - } - } - Transition tr2: OnForPeds -> WaitABit2 { - triggers { - <onForPedsDone: trafficLight> - } - } - Transition tr3: WaitABit1 -> OnForPeds { - triggers { - <timeout: timeout> - } - } - Transition tr4: WaitABit2 -> OnForCars { - triggers { - <timeout: timeout> - } - } - State Init { - entry { - "trafficLight.initialize();" - } - } - State OnForCars { - entry { - "trafficLight.onForCars();" - } - } - State OnForPeds { - entry { - "trafficLight.onForPeds();" - } - } - State WaitABit1 { - entry { - "timeout.startTimeout(2000);" - } - } - State WaitABit2 { - entry { - "timeout.startTimeout(2000);\n" - } - } - } - } - } - - ProtocolClass PTrafficLightIF { - incoming { - Message initialize() - Message onForCars() - Message onForPeds() - } - outgoing { - Message initialized() - Message onForCarsDone() - Message onForPedsDone() - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/trafficlight.connector.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/trafficlight.connector.room deleted file mode 100644 index d3b1a8baf..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/RaspberryPi/trafficlight.connector.room +++ /dev/null @@ -1,206 +0,0 @@ -RoomModel trafficlight.connector { - - import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.java/model/TcpService.room" - - import room.basic.types.* from "../../../org.eclipse.etrice.modellib.java/model/Types.room" - - ActorClass TrafficLightInterface { - Interface { - conjugated Port payload: PTcpPayload - conjugated Port control: PTcpControl - Port fct: PTrafficLightInterface - } - Structure { - external Port payload - external Port control - external Port fct - Attribute tcpConfig : DTcpControl - } - Behavior { - Operation sendString(data: string) { - "payload.send(new DTcpPayload(1, data.length(), data.getBytes()));" - } - - StateMachine { - Transition init: initial -> Uninitialized { } - Transition tr0: Uninitialized -> Initializing { - triggers { - <initialize: fct> - } - action { - "control.open(tcpConfig);" - } - } - Transition tr1: Initializing -> Running { - triggers { - <established: control> - } - action { - "fct.initialized();" - } - } - Transition tr2: Running -> Running { - triggers { - <pedRed: fct> - } - action { - "sendString(new String(\"pedLights=red\\n\"));" - } - } - Transition tr3: Running -> Running { - triggers { - <pedOff: fct> - } - action { - "sendString(new String(\"pedLights=off\\n\"));" - } - } - Transition tr4: Running -> Running { - triggers { - <pedGreen: fct> - } - action { - "sendString(new String(\"pedLights=green\\n\"));" - } - } - Transition tr5: Running -> Running { - triggers { - <carRed: fct> - } - action { - "sendString(new String(\"carLights=red\\n\"));" - } - } - Transition tr6: Running -> Running { - triggers { - <carYellow: fct> - } - action { - "sendString(new String(\"carLights=yellow\\n\"));" - } - } - Transition tr7: Running -> Running { - triggers { - <carGreen: fct> - } - action { - "sendString(new String(\"carLights=green\\n\"));" - } - } - Transition tr8: Running -> Running { - triggers { - <carOff: fct> - } - action { - "sendString(new String(\"carLights=off\\n\"));" - } - } - Transition tr9: Running -> Running { - triggers { - <receive: payload> - } - action { - "fct.request();" - } - } - State Uninitialized - State Initializing - State Running - } - } - } - - ActorClass MqttWrapperActor { - Interface { - Port fct: PMqtt - } - Structure { - - usercode1 {"import de.protos.etrice.automation.m2m.mqtt.*;"} - external Port fct - Attribute connectionMQTT : MqttWrapper - Attribute open : boolean - } - Behavior { - Operation ~MqttWrapperActor(){ - "connectionMQTT.disconnect();" - } - - StateMachine { - Transition init: initial -> NotInitialized { } - Transition tr0: NotInitialized -> cp cp0 { - triggers { - <connect: fct> - } - action { - "open=false;" - "connectionMQTT.connect(config.url, config.id);" - "//connectionMQTT.connect(new DMqttConfig(\"tcp://m2m.eclipse.org:1883\", \"eTrice-Paho-Tester\"));" - "open=true;" - } - } - Transition tr1: cp cp0 -> NotInitialized - Transition tr2: cp cp0 -> Connected { - cond { - "open==true" - } - action { - "fct.connected();" - } - } - Transition tr3: Connected -> Connected { - triggers { - <publish: fct> - } - action { - "connectionMQTT.publishString(message.topic, message.payload, message.retained, message.qos);" - } - } - ChoicePoint cp0 - State NotInitialized - State Connected - } - } - } - - ProtocolClass PTrafficLightInterface { - incoming { - Message initialize() - Message pedRed() - Message pedGreen() - Message pedOff() - Message carRed() - Message carYellow() - Message carGreen() - Message carOff() - } - outgoing { - Message initialized() - Message request() - } - } - - ProtocolClass PMqtt { - incoming { - Message connect(config: DMqttConfig) - Message publish(message: DMqttMessage) - } - outgoing { - Message connected () - } - } - - DataClass DMqttConfig { - Attribute url : string - Attribute id : string - } - - DataClass DMqttMessage { - Attribute topic : string - Attribute payload : string - Attribute retained : boolean - Attribute qos : int32 - } - - ExternalType MqttWrapper -> MqttWrapper -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.config b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.config deleted file mode 100644 index 1e65e7fe6..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.config +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2012 protos software gmbh (http://www.protos.de). - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * CONTRIBUTORS: - * Thomas Schuetz (initial contribution) - * - *******************************************************************************/ -ConfigModel trafficlight.example.config { - - import trafficlight.example.* from "trafficlight.example.room" - - ActorInstanceConfig LSTraffic/main/application/light1{ - Attr ipConfig{ - //Attr IPAddr="192.168.137.1" - Attr IPAddr="localhost" - Attr TcpPort=4441 - } - } - - ActorInstanceConfig LSTraffic/main/application/light2 { - Attr ipConfig{ - //Attr IPAddr="192.168.137.1" - Attr IPAddr="localhost" - Attr TcpPort=4442 - } - } - ActorInstanceConfig LSTraffic/main/application/pedestrianLight { - Attr ipConfig{ - Attr IPAddr="localhost" - Attr TcpPort=4443 - } - } -} diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.etmap b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.etmap deleted file mode 100644 index 4ae51f23c..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.etmap +++ /dev/null @@ -1,10 +0,0 @@ -MappingModel MappingModel1 { - import trafficlight.example.* from "trafficlight.example.room" - import PhysicalModel1.* from "trafficlight.example.etphys" - Mapping LSTraffic -> PhysSys1 { - SubSystemMapping main -> nodeRef1 { - ThreadMapping dflt_thread -> PhysicalThread1 - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.etphys b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.etphys deleted file mode 100644 index e888d9526..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.etphys +++ /dev/null @@ -1,26 +0,0 @@ -PhysicalModel PhysicalModel1 { - - PhysicalSystem PhysSys1 { - NodeRef nodeRef1 : NodeClass1 - } - - NodeClass NodeClass1 { - runtime = RuntimeClass1 - priomin = -10 - priomax = 10 - - DefaultThread PhysicalThread1 { - execmode = mixed - interval = 100ms - prio = 0 - stacksize = 1024 - msgblocksize = 32 - msgpoolsize = 10 - } - } - - RuntimeClass RuntimeClass1 { - model = multiThreaded - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.room b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.room deleted file mode 100644 index c70292be2..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.room +++ /dev/null @@ -1,410 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2012 protos software gmbh (http://www.protos.de). - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * CONTRIBUTORS: - * Thomas Schuetz (initial contribution) - * - *******************************************************************************/ -RoomModel trafficlight.example { - - import room.basic.types.* from "../../org.eclipse.etrice.modellib.java/model/Types.room" - - import room.basic.service.timing.* from "../../org.eclipse.etrice.modellib.java/model/TimingService.room" - - import room.basic.service.tcp.* from "../../org.eclipse.etrice.modellib.java/model/TcpService.room" - - LogicalSystem LSTraffic { - SubSystemRef main: SSTraffic - } - - SubSystemClass SSTraffic [ - "Subsystem of Trafficlight Example Application. The Subsystem contains all Actors of the application." ] { - ActorRef application: TrafficlightExampleApplication [ "reference to application" ] - ActorRef TimingService: ATimingService [ "reference to timing service" ] - LayerConnection ref application satisfied_by TimingService.timer - LogicalThread dflt_thread - } - - ActorClass ActorClassName { - Structure { } - Behavior { } - } - - ActorClass TrafficlightExampleApplication [ "Toplevel Actor of the Trafficlight Example Application." ] { - Structure { - ActorRef light1: TrafficLight [ "first traffic light" ] - ActorRef light2: TrafficLight [ "second traffic light" ] - ActorRef controller: TrafficController [ "controller for coordination of the traffic lights" ] - ActorRef pedestrianLight: PedestrianLight - Binding controller.light1 and light1.controller - Binding controller.light2 and light2.controller - } - Behavior { } - } - - ActorClass TrafficController [ "The TrafficController coordinates two traffic lights (directions)." ] { - Interface { - conjugated Port light1: PTrafficLight [ "port to control traffic light 1" ] - conjugated Port light2: PTrafficLight [ "port to control traffic light 2" ] - } - Structure { - external Port light1 - external Port light2 - SAP timeout: PTimer - } - Behavior { - StateMachine { - Transition init: initial -> Idle { } - Transition tr0: Idle -> SwitchToLight1GreenForCars { - triggers { - <timeout: timeout> - } - } - Transition tr1: SwitchToLight1GreenForCars -> state0 { - triggers { - <greenForCarDone: light1> - } - } - Transition tr2: SwitchToLight1GreenForCars -> state1 { - triggers { - <greenForPedDone: light2> - } - } - Transition tr3: state1 -> Light1GreenForCars { - triggers { - <greenForCarDone: light1> - } - } - Transition tr4: state0 -> Light1GreenForCars { - triggers { - <greenForPedDone: light2> - } - } - Transition tr5: Light1GreenForCars -> SwitchToLight2GreenForCars { - triggers { - <timeout: timeout> - } - } - Transition tr6: SwitchToLight2GreenForCars -> state2 { - triggers { - <greenForPedDone: light1> - } - } - Transition tr7: SwitchToLight2GreenForCars -> state3 { - triggers { - <greenForCarDone: light2> - } - } - Transition tr8: state2 -> Light2GreenForCars { - triggers { - <greenForCarDone: light2> - } - } - Transition tr9: state3 -> Light2GreenForCars { - triggers { - <greenForPedDone: light1> - } - } - Transition tr10: Light2GreenForCars -> SwitchToLight1GreenForCars { - triggers { - <timeout: timeout> - } - } - State Idle { - entry { - "timeout.startTimeout(3000);" - } - } - State Light1GreenForCars { - entry { - "timeout.startTimeout(10000);" - } - } - State SwitchToLight1GreenForCars { - entry { - "light1.greenForCar();" - "light2.greenForPed();" - } - } - State state0 - State state1 - State SwitchToLight2GreenForCars { - entry { - "light1.greenForPed();" - "light2.greenForCar();" - } - } - State state2 - State state3 - State Light2GreenForCars { - entry { - "timeout.startTimeout(10000);" - } - } - } - } - } - - ActorClass PedestrianLight { - Structure { - conjugated Port tcpCtrl: PTcpControl - conjugated Port tcpPayload: PTcpPayload - ActorRef socketClient: ATcpClient - SAP timeout: PTimer - Binding tcpCtrl and socketClient.ControlPort - Binding tcpPayload and socketClient.PayloadPort - Attribute ipConfig: DTcpControl [ "configuration of the IP-port for the communication with the Traffic Light GUI" ] - } - Behavior { - Operation sendString(text: string) [ "convenience function for sending a string over the socket" ] { - " - DTcpPayload pl = new DTcpPayload(); - pl.setData(text.getBytes()); - tcpPayload.send(new DTcpPayload(1, text.length(), text.getBytes())); - " - } - StateMachine { - Transition init: initial -> OpenSocket { } - Transition tr0: OpenSocket -> tp0 of Operational { - triggers { - <established: tcpCtrl> - } - } - State OpenSocket { - entry { - "tcpCtrl.open(ipConfig);" - } - } - State Operational { - subgraph { - Transition tr0: my tp0 -> AllRed - Transition tr1: AllRed -> CarGreen { - triggers { - <timeout: timeout> - } - } - Transition tr2: CarGreen -> CarYellow { - triggers { - <receive: tcpPayload> - } - } - Transition tr3: CarYellow -> CarRed { - triggers { - <timeout: timeout> - } - } - Transition tr4: CarRed -> PedGreen { - triggers { - <timeout: timeout> - } - } - Transition tr5: PedGreen -> AllRed { - triggers { - <timeout: timeout> - } - } - EntryPoint tp0 - State AllRed { - entry { - "sendString(\"pedLights=red\\n\");" - "sendString(\"carLights=red\\n\");" - "timeout.startTimeout(1000);" - } - } - State CarGreen { - entry { - "sendString(\"carLights=green\\n\");" - "timeout.startTimeout(3000);" - } - } - State CarYellow { - entry { - "sendString(\"carLights=yellow\\n\");" - "timeout.startTimeout(1000);" - } - } - State CarRed { - entry { - "sendString(\"carLights=red\\n\");" - "timeout.startTimeout(1000);" - } - } - State PedGreen { - entry { - "sendString(\"pedLights=green\\n\");" - "timeout.startTimeout(3000);" - } - } - } - } - } - } - } - - ActorClass TrafficLight [ - "This Actor is responsible for controlling a single traffic light via socket. It uses a socket client for communication." - ] { - Interface { - Port controller: PTrafficLight - } - Structure { - external Port controller - conjugated Port tcpCtrl: PTcpControl - conjugated Port tcpPayload: PTcpPayload - ActorRef trafficLightSocket: ATcpClient - SAP timeout: PTimer - SAP blinkerTimeout: PTimer - Binding trafficLightSocket.ControlPort and tcpCtrl - Binding trafficLightSocket.PayloadPort and tcpPayload - Attribute ipConfig: DTcpControl [ "configuration of the IP-port for the communication with the Traffic Light GUI" ] - } - Behavior { - Operation sendString(text: string) [ "convenience function for sending a string over the socket" ] { - " - DTcpPayload pl = new DTcpPayload(); - pl.setData(text.getBytes()); - tcpPayload.send(new DTcpPayload(1, text.length(), text.getBytes())); - " - } - StateMachine { - Transition init: initial -> OpenSocket { } - Transition tr0: OpenSocket -> tp0 of Off_Blinking { - triggers { - <established: tcpCtrl> - } - } - Transition tr2: Off_Blinking -> PedRed { - triggers { - <greenForCar: controller> - } - } - Transition tr3: PedRed -> CarYellow { - triggers { - <timeout: timeout> - } - } - Transition tr1: CarYellow -> CarGreen { - triggers { - <timeout: timeout> - } - } - Transition tr4: Off_Blinking -> CarYellow2 { - triggers { - <greenForPed: controller> - } - } - Transition tr5: CarYellow2 -> CarRed { - triggers { - <timeout: timeout> - } - } - Transition tr6: CarRed -> PedGreen { - triggers { - <timeout: timeout> - } - } - Transition tr7: PedGreen -> PedRed { - triggers { - <greenForCar: controller> - } - } - Transition tr8: CarGreen -> CarYellow2 { - triggers { - <greenForPed: controller> - } - } - State OpenSocket { - entry { - "tcpCtrl.open(ipConfig);" - } - } - State CarYellow { - entry { - "sendString(\"carLights=yellow\\n\");" - "timeout.startTimeout(1000);" - } - } - State PedRed { - entry { - "sendString(\"pedLights=red\\n\");" - "sendString(\"carLights=red\\n\");" - "timeout.startTimeout(1000);" - } - } - State CarGreen { - entry { - "sendString(\"carLights=green\\n\");" - "controller.greenForCarDone();" - } - } - State Off_Blinking { - subgraph { - Transition tr0: my tp0 -> On - Transition tr1: On -> Off { - triggers { - <timeout: blinkerTimeout> - } - } - Transition tr2: Off -> On { - triggers { - <timeout: blinkerTimeout> - } - } - EntryPoint tp0 - State On { - entry { - "sendString(\"carLights=red\\n\");" - "sendString(\"pedLights=red\\n\");" - "blinkerTimeout.startTimeout(500);" - } - exit { - "sendString(\"carLights=off\\n\");" - "sendString(\"pedLights=off\\n\");" - } - } - State Off { - entry { - "blinkerTimeout.startTimeout(500);" - } - } - } - } - State CarYellow2 { - entry { - "sendString(\"carLights=yellow\\n\");" - "timeout.startTimeout(1000);" - "// Hallo" - } - } - State CarRed { - entry { - "sendString(\"carLights=red\\n\");" - "timeout.startTimeout(1000);" - } - } - State PedGreen { - entry { - "sendString(\"pedLights=green\\n\");" - "controller.greenForPedDone();" - } - } - } - } - } - - ProtocolClass PTrafficLight { - incoming { - Message greenForCar() [ "trigger green for car" ] - Message greenForPed() [ "trigger green for pedestrians" ] - } - outgoing { - Message greenForCarDone() [ "positive response for greenForCar - is sent when switch is over" ] - Message greenForPedDone() [ "positive response for greenForPed - is sent when switch is over" ] - } - } - -}
\ No newline at end of file diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/TrafficLightExample.jar b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/TrafficLightExample.jar Binary files differdeleted file mode 100644 index 4e6e0ac99..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/TrafficLightExample.jar +++ /dev/null diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/buildTrafficLightExample..xml b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/buildTrafficLightExample..xml deleted file mode 100644 index 71c82cd60..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/buildTrafficLightExample..xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<project default="create_run_jar" name="Create Runnable Jar for Project org.eclipse.etrice.tutorials.simulators.trafficlight.example"> - <!--this file was created by Eclipse Runnable JAR Export Wizard--> - <!--ANT 1.7 is required --> - <target name="create_run_jar"> - <jar destfile="C:/entw/projekte/eTrice/repositories/org.eclipse.etrice/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/TrafficLightExample.jar" filesetmanifest="mergewithoutmain"> - <manifest> - <attribute name="Main-Class" value="PiModel.PiSubSysRunner"/> - <attribute name="Class-Path" value="."/> - </manifest> - <fileset dir="C:/entw/projekte/eTrice/repositories/FlatWorld/org.eclipse.etrice.tutorials.simulators.trafficlight.example/bin"/> - <fileset dir="C:/entw/projekte/eTrice/repositories/FlatWorld/org.eclipse.etrice.runtime.java/bin"/> - <fileset dir="C:/entw/projekte/eTrice/repositories/FlatWorld/org.eclipse.etrice.modellib.java/bin"/> - </jar> - </target> -</project> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/piSubSys_Async.seq b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/piSubSys_Async.seq deleted file mode 100644 index 57e357286..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/release/piSubSys_Async.seq +++ /dev/null @@ -1,162 +0,0 @@ -#generated MSC for Trace2UML - /PiSystem/piSubSys/application/tlClient >>> closed - /PiSystem/piSubSys/application/tlIf >>> Uninitialized - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf initialize - /PiSystem/piSubSys/application/controller >>> NotInitialized - /PiSystem/piSubSys/timing >>> Operational - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf initialize - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient open - /PiSystem/piSubSys/application/tlIf >>> Initializing - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient open - /PiSystem/piSubSys/application/tlClient >-- /PiSystem/piSubSys/application/tlIf established - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlClient --> /PiSystem/piSubSys/application/tlIf established - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/controller initialized - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/controller initialized - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/controller >>> Initialized_On - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/timing internalStartTimeout - /PiSystem/piSubSys/timing >>> Operational - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/timing >-- /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/timing --> /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf pedOff - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf carOff - /PiSystem/piSubSys/application/controller >>> Initialized_Off - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf pedOff - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf carOff - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/timing internalStartTimeout - /PiSystem/piSubSys/timing >>> Operational - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/timing >-- /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/timing --> /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/controller >>> Initialized_On - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/timing internalStartTimeout - /PiSystem/piSubSys/timing >>> Operational - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/timing >-- /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/timing --> /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf pedOff - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf carOff - /PiSystem/piSubSys/application/controller >>> Initialized_Off - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf pedOff - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf carOff - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/timing internalStartTimeout - /PiSystem/piSubSys/timing >>> Operational - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/timing >-- /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/timing --> /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/controller >>> Initialized_On - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/timing internalStartTimeout - /PiSystem/piSubSys/timing >>> Operational - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/timing >-- /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/timing --> /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf pedOff - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf carOff - /PiSystem/piSubSys/application/controller >>> Initialized_Off - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf pedOff - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf carOff - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/timing internalStartTimeout - /PiSystem/piSubSys/timing >>> Operational - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/timing >-- /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/timing --> /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/controller >>> Initialized_On - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/timing internalStartTimeout - /PiSystem/piSubSys/timing >>> Operational - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf pedRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf carRed - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/timing >-- /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/timing --> /PiSystem/piSubSys/application/controller internalTimeout - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf pedOff - /PiSystem/piSubSys/application/controller >-- /PiSystem/piSubSys/application/tlIf carOff - /PiSystem/piSubSys/application/controller >>> Initialized_Off - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf pedOff - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/application/tlIf carOff - /PiSystem/piSubSys/application/tlIf >-- /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlIf >>> Running - /PiSystem/piSubSys/application/controller --> /PiSystem/piSubSys/timing internalStartTimeout - /PiSystem/piSubSys/timing >>> Operational - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened - /PiSystem/piSubSys/application/tlIf --> /PiSystem/piSubSys/application/tlClient send - /PiSystem/piSubSys/application/tlClient >>> opened diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/run_trafficlight_example.launch b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/run_trafficlight_example.launch deleted file mode 100644 index c5772e6ae..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/run_trafficlight_example.launch +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication"> -<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> -<listEntry value="/org.eclipse.etrice.tutorials.simulators.trafficlight.example/src-gen/trafficlight/example/Node_nodeRef1_mainRunner.java"/> -</listAttribute> -<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> -<listEntry value="1"/> -</listAttribute> -<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="trafficlight.example.Node_nodeRef1_mainRunner"/> -<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.etrice.tutorials.simulators.trafficlight.example"/> -</launchConfiguration> diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/src-gen/readme.txt b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/src-gen/readme.txt deleted file mode 100644 index 1dc2b35ab..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/src-gen/readme.txt +++ /dev/null @@ -1,4 +0,0 @@ -This directory is an eTrice code generation target. -It will be erased every time the generator is executed. - -DO NOT PLACE OTHER FILES HERE! diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/main_Async.seq b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/main_Async.seq deleted file mode 100644 index f9e7ca1cb..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/main_Async.seq +++ /dev/null @@ -1,303 +0,0 @@ -; generated MSC for Trace2UML -# begin sub system initialization - /LSTraffic/main (!) /LSTraffic/main/application - /LSTraffic/main/application (!) /LSTraffic/main/application/light1 - /LSTraffic/main/application/light1 (!) /LSTraffic/main/application/light1/trafficLightSocket - /LSTraffic/main/application (!) /LSTraffic/main/application/light2 - /LSTraffic/main/application/light2 (!) /LSTraffic/main/application/light2/trafficLightSocket - /LSTraffic/main/application (!) /LSTraffic/main/application/controller - /LSTraffic/main/application (!) /LSTraffic/main/application/pedestrianLight - /LSTraffic/main/application/pedestrianLight (!) /LSTraffic/main/application/pedestrianLight/socketClient - /LSTraffic/main (!) /LSTraffic/main/TimingService -# done sub system initialization - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket open - /LSTraffic/main/application/light1 >>> OpenSocket - /LSTraffic/main/application/light1/trafficLightSocket >>> closed - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket open - /LSTraffic/main/application/light2 >>> OpenSocket - /LSTraffic/main/application/light2/trafficLightSocket >>> closed - /LSTraffic/main/application/controller >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/controller >>> Idle - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/application/pedestrianLight/socketClient open - /LSTraffic/main/application/pedestrianLight >>> OpenSocket - /LSTraffic/main/application/pedestrianLight/socketClient >>> closed - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket open - /LSTraffic/main/application/light1/trafficLightSocket >-- /LSTraffic/main/application/light1 established - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket open - /LSTraffic/main/application/light2/trafficLightSocket >-- /LSTraffic/main/application/light2 established - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/controller --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/application/pedestrianLight/socketClient open - /LSTraffic/main/application/pedestrianLight/socketClient >-- /LSTraffic/main/application/pedestrianLight established - /LSTraffic/main/application/pedestrianLight/socketClient >>> opened - /LSTraffic/main/application/light1/trafficLightSocket --> /LSTraffic/main/application/light1 established - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light1 >>> Off_Blinking_On - /LSTraffic/main/application/light2/trafficLightSocket --> /LSTraffic/main/application/light2 established - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light2 >>> Off_Blinking_On - /LSTraffic/main/application/pedestrianLight/socketClient --> /LSTraffic/main/application/pedestrianLight established - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/pedestrianLight >>> Operational_AllRed - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight/socketClient >>> opened - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight/socketClient >>> opened - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light1 >>> Off_Blinking_Off - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light2 >>> Off_Blinking_Off - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/pedestrianLight internalTimeout - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/pedestrianLight internalTimeout - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/pedestrianLight >>> Operational_CarGreen - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light2 >>> Off_Blinking_On - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light1 >>> Off_Blinking_On - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight/socketClient >>> opened - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light2 >>> Off_Blinking_Off - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light1 >>> Off_Blinking_Off - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light2 >>> Off_Blinking_On - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light1 >>> Off_Blinking_On - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light2 >>> Off_Blinking_Off - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light1 >>> Off_Blinking_Off - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/controller internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/controller internalTimeout - /LSTraffic/main/application/controller >-- /LSTraffic/main/application/light1 greenForCar - /LSTraffic/main/application/controller >-- /LSTraffic/main/application/light2 greenForPed - /LSTraffic/main/application/controller >>> SwitchToLight1GreenForCars - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/application/controller --> /LSTraffic/main/application/light1 greenForCar - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light1 >>> PedRed - /LSTraffic/main/application/controller --> /LSTraffic/main/application/light2 greenForPed - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light2 >>> CarYellow2 - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/pedestrianLight internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/pedestrianLight internalTimeout - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light1 >>> CarYellow - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/light2 >>> CarRed - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light1 internalTimeout - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1 >-- /LSTraffic/main/application/controller greenForCarDone - /LSTraffic/main/application/light1 >>> CarGreen - /LSTraffic/main/TimingService --> /LSTraffic/main/application/light2 internalTimeout - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2 >-- /LSTraffic/main/application/controller greenForPedDone - /LSTraffic/main/application/light2 >>> PedGreen - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/light1/trafficLightSocket send - /LSTraffic/main/application/light1/trafficLightSocket >>> opened - /LSTraffic/main/application/light1 --> /LSTraffic/main/application/controller greenForCarDone - /LSTraffic/main/application/controller >>> state0 - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/light2/trafficLightSocket send - /LSTraffic/main/application/light2/trafficLightSocket >>> opened - /LSTraffic/main/application/light2 --> /LSTraffic/main/application/controller greenForPedDone - /LSTraffic/main/application/controller >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/controller >>> Light1GreenForCars - /LSTraffic/main/application/controller --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/application/pedestrianLight/socketClient >-- /LSTraffic/main/application/pedestrianLight receive - /LSTraffic/main/application/pedestrianLight/socketClient --> /LSTraffic/main/application/pedestrianLight receive - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/pedestrianLight >>> Operational_CarYellow - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight/socketClient >>> opened - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/pedestrianLight internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/pedestrianLight internalTimeout - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/pedestrianLight >>> Operational_CarRed - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight/socketClient >>> opened - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational - /LSTraffic/main/TimingService >-- /LSTraffic/main/application/pedestrianLight internalTimeout - /LSTraffic/main/TimingService --> /LSTraffic/main/application/pedestrianLight internalTimeout - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight >-- /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/application/pedestrianLight >>> Operational_PedGreen - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/application/pedestrianLight/socketClient send - /LSTraffic/main/application/pedestrianLight/socketClient >>> opened - /LSTraffic/main/application/pedestrianLight --> /LSTraffic/main/TimingService internalStartTimeout - /LSTraffic/main/TimingService >>> Operational -# begin sub system destruction - /LSTraffic/main (X) /LSTraffic/main/application - /LSTraffic/main/application (X) /LSTraffic/main/application/light1 - /LSTraffic/main/application/light1 (X) /LSTraffic/main/application/light1/trafficLightSocket - /LSTraffic/main/application (X) /LSTraffic/main/application/light2 - /LSTraffic/main/application/light2 (X) /LSTraffic/main/application/light2/trafficLightSocket - /LSTraffic/main/application (X) /LSTraffic/main/application/controller - /LSTraffic/main/application (X) /LSTraffic/main/application/pedestrianLight - /LSTraffic/main/application/pedestrianLight (X) /LSTraffic/main/application/pedestrianLight/socketClient - /LSTraffic/main (X) /LSTraffic/main/TimingService diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/main_Sync.seq b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/main_Sync.seq deleted file mode 100644 index 6b954ac91..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/main_Sync.seq +++ /dev/null @@ -1 +0,0 @@ -; generated MSC for Trace2UML diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/subsystem_Async.seq b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/subsystem_Async.seq deleted file mode 100644 index d0ed2a840..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/subsystem_Async.seq +++ /dev/null @@ -1,375 +0,0 @@ -; generated MSC for Trace2UML -# begin sub system initialization - /TrafficlightLogSys/subsystem (!) /TrafficlightLogSys/subsystem/application - /TrafficlightLogSys/subsystem/application (!) /TrafficlightLogSys/subsystem/application/controller - /TrafficlightLogSys/subsystem/application (!) /TrafficlightLogSys/subsystem/application/coordinator - /TrafficlightLogSys/subsystem/application (!) /TrafficlightLogSys/subsystem/application/tsCommands - /TrafficlightLogSys/subsystem/application/tsCommands (!) /TrafficlightLogSys/subsystem/application/tsCommands/socket - /TrafficlightLogSys/subsystem/application (!) /TrafficlightLogSys/subsystem/application/tlCommands2 - /TrafficlightLogSys/subsystem/application/tlCommands2 (!) /TrafficlightLogSys/subsystem/application/tlCommands2/socket - /TrafficlightLogSys/subsystem/application (!) /TrafficlightLogSys/subsystem/application/controller2 - /TrafficlightLogSys/subsystem (!) /TrafficlightLogSys/subsystem/timingService -# done sub system initialization - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands startInit - /TrafficlightLogSys/subsystem/application/controller >>> InitCommands - /TrafficlightLogSys/subsystem/application/coordinator >>> Idle - /TrafficlightLogSys/subsystem/application/tsCommands >>> NotInitialized - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> closed - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> NotInitialized - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> closed - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 startInit - /TrafficlightLogSys/subsystem/application/controller2 >>> InitCommands - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands startInit - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket open - /TrafficlightLogSys/subsystem/application/tsCommands >>> ConfigSocket - /TrafficlightLogSys/subsystem/application/coordinator --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 startInit - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket open - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> ConfigSocket - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket open - /TrafficlightLogSys/subsystem/application/tsCommands/socket >-- /TrafficlightLogSys/subsystem/application/tsCommands established - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket open - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >-- /TrafficlightLogSys/subsystem/application/tlCommands2 established - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tsCommands/socket --> /TrafficlightLogSys/subsystem/application/tsCommands established - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/controller doneInit - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/tlCommands2/socket --> /TrafficlightLogSys/subsystem/application/tlCommands2 established - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/controller2 doneInit - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/controller doneInit - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands carYellow - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands pedRed - /TrafficlightLogSys/subsystem/application/controller >>> Blinking_On - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/controller2 doneInit - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carYellow - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/controller2 >>> Blinking_On - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands carYellow - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands pedRed - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carYellow - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands carOff - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands pedOff - /TrafficlightLogSys/subsystem/application/controller >>> Blinking_Off - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carOff - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 pedOff - /TrafficlightLogSys/subsystem/application/controller2 >>> Blinking_Off - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands carOff - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands pedOff - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carOff - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 pedOff - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands carYellow - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands pedRed - /TrafficlightLogSys/subsystem/application/controller >>> Blinking_On - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carYellow - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/controller2 >>> Blinking_On - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands carYellow - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands pedRed - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carYellow - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands carOff - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands pedOff - /TrafficlightLogSys/subsystem/application/controller >>> Blinking_Off - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands carOff - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carOff - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 pedOff - /TrafficlightLogSys/subsystem/application/controller2 >>> Blinking_Off - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands pedOff - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carOff - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 pedOff - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands carYellow - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands pedRed - /TrafficlightLogSys/subsystem/application/controller >>> Blinking_On - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands carYellow - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands pedRed - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carYellow - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/controller2 >>> Blinking_On - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carYellow - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands carOff - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands pedOff - /TrafficlightLogSys/subsystem/application/controller >>> Blinking_Off - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carOff - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 pedOff - /TrafficlightLogSys/subsystem/application/controller2 >>> Blinking_Off - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands carOff - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands pedOff - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carOff - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 pedOff - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/coordinator internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/coordinator internalTimeout - /TrafficlightLogSys/subsystem/application/coordinator >-- /TrafficlightLogSys/subsystem/application/controller setOn - /TrafficlightLogSys/subsystem/application/coordinator >-- /TrafficlightLogSys/subsystem/application/controller2 setOn - /TrafficlightLogSys/subsystem/application/coordinator >>> Running - /TrafficlightLogSys/subsystem/application/coordinator --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/coordinator --> /TrafficlightLogSys/subsystem/application/controller setOn - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands carRed - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands pedRed - /TrafficlightLogSys/subsystem/application/controller >>> Working_AllRed - /TrafficlightLogSys/subsystem/application/coordinator --> /TrafficlightLogSys/subsystem/application/controller2 setOn - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carRed - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/controller2 >>> Working_AllRed - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/timingService kill - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands carRed - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands pedRed - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService kill - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carRed - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller internalTimeout - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller >-- /TrafficlightLogSys/subsystem/application/tsCommands carGreen - /TrafficlightLogSys/subsystem/application/controller >>> Working_CarGreen - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carGreen - /TrafficlightLogSys/subsystem/application/controller2 >>> Working_CarGreen - /TrafficlightLogSys/subsystem/application/controller --> /TrafficlightLogSys/subsystem/application/tsCommands carGreen - /TrafficlightLogSys/subsystem/application/tsCommands >-- /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carGreen - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/tsCommands --> /TrafficlightLogSys/subsystem/application/tsCommands/socket send - /TrafficlightLogSys/subsystem/application/tsCommands/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >-- /TrafficlightLogSys/subsystem/application/tlCommands2 receive - /TrafficlightLogSys/subsystem/application/tlCommands2/socket --> /TrafficlightLogSys/subsystem/application/tlCommands2 receive - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/controller2 pressedButton - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/controller2 pressedButton - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carYellow - /TrafficlightLogSys/subsystem/application/controller2 >>> Working_CarYellow - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carYellow - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carRed - /TrafficlightLogSys/subsystem/application/controller2 >>> Working_CarRed - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carRed - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 pedGreen - /TrafficlightLogSys/subsystem/application/controller2 >>> Working_PedGreen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 pedGreen - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carRed - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/controller2 >>> Working_AllRed - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carRed - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 pedRed - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/timingService internalStartTimeout - /TrafficlightLogSys/subsystem/timingService >>> Operational - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened - /TrafficlightLogSys/subsystem/timingService >-- /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/timingService --> /TrafficlightLogSys/subsystem/application/controller2 internalTimeout - /TrafficlightLogSys/subsystem/application/controller2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2 carGreen - /TrafficlightLogSys/subsystem/application/controller2 >>> Working_CarGreen - /TrafficlightLogSys/subsystem/application/controller2 --> /TrafficlightLogSys/subsystem/application/tlCommands2 carGreen - /TrafficlightLogSys/subsystem/application/tlCommands2 >-- /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2 >>> SocketOpen - /TrafficlightLogSys/subsystem/application/tlCommands2 --> /TrafficlightLogSys/subsystem/application/tlCommands2/socket send - /TrafficlightLogSys/subsystem/application/tlCommands2/socket >>> opened -# begin sub system destruction - /TrafficlightLogSys/subsystem (X) /TrafficlightLogSys/subsystem/application - /TrafficlightLogSys/subsystem/application (X) /TrafficlightLogSys/subsystem/application/controller - /TrafficlightLogSys/subsystem/application (X) /TrafficlightLogSys/subsystem/application/coordinator - /TrafficlightLogSys/subsystem/application (X) /TrafficlightLogSys/subsystem/application/tsCommands - /TrafficlightLogSys/subsystem/application/tsCommands (X) /TrafficlightLogSys/subsystem/application/tsCommands/socket - /TrafficlightLogSys/subsystem/application (X) /TrafficlightLogSys/subsystem/application/tlCommands2 - /TrafficlightLogSys/subsystem/application/tlCommands2 (X) /TrafficlightLogSys/subsystem/application/tlCommands2/socket - /TrafficlightLogSys/subsystem/application (X) /TrafficlightLogSys/subsystem/application/controller2 - /TrafficlightLogSys/subsystem (X) /TrafficlightLogSys/subsystem/timingService diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/subsystem_Sync.seq b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/subsystem_Sync.seq deleted file mode 100644 index 6b954ac91..000000000 --- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/subsystem_Sync.seq +++ /dev/null @@ -1 +0,0 @@ -; generated MSC for Trace2UML |