Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.config')
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/model/trafficlight.example.config32
1 files changed, 17 insertions, 15 deletions
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
index 2bacc19f3..1c78c0799 100644
--- 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
@@ -9,20 +9,22 @@
* Thomas Schuetz (initial contribution)
*
*******************************************************************************/
-
-
-import trafficlight.example.* from "trafficlight.example.room"
-
-ActorInstanceConfig SSTraffic/application/light1{
- Attr ipConfig{
- Attr IPAddr="127.0.0.1"
- Attr TcpPort=4441
+ConfigModel trafficlight.example.config {
+
+ import trafficlight.example.* from "trafficlight.example.room"
+
+ ActorInstanceConfig LSTraffic/main/application/light1{
+ Attr ipConfig{
+ Attr IPAddr="127.0.0.1"
+ Attr TcpPort=4441
+ }
}
-}
-
-ActorInstanceConfig SSTraffic/application/light2 {
- Attr ipConfig{
- Attr IPAddr="127.0.0.1"
- Attr TcpPort=4442
+
+ ActorInstanceConfig LSTraffic/main/application/light2 {
+ Attr ipConfig{
+ Attr IPAddr="127.0.0.1"
+ Attr TcpPort=4442
+ }
}
-} \ No newline at end of file
+
+}

Back to the top