|
@@ -32,7 +32,7 @@ transition (manager_main_start, manager_main_start) {
|
|
|
scope = "cd"
|
|
|
event = "create_instance"
|
|
|
parameter = $
|
|
|
- Element function raise(attributes : Element, parameters : Element):
|
|
|
+ Element function raises(attributes : Element, parameters : Element):
|
|
|
Element result
|
|
|
result = list_create()
|
|
|
list_append(result, "trafficlights")
|
|
@@ -62,7 +62,7 @@ transition (manager_main_start, manager_main_start) {
|
|
|
scope = "cd"
|
|
|
event = "delete_instance"
|
|
|
parameter = $
|
|
|
- Element function raise(attributes : Element, parameters : Element):
|
|
|
+ Element function raises(attributes : Element, parameters : Element):
|
|
|
Element result
|
|
|
result = list_create()
|
|
|
list_append(result, list_pop_final(attributes["trafficlights"]))
|
|
@@ -226,7 +226,7 @@ Class trafficlight {
|
|
|
{onEntryRaise} Raise {
|
|
|
event = "updateTimerValue"
|
|
|
parameter = $
|
|
|
- Element function raise(attributes : Element):
|
|
|
+ Element function raises(attributes : Element):
|
|
|
return attributes["counter"]!
|
|
|
$
|
|
|
}
|
|
@@ -239,7 +239,7 @@ Class trafficlight {
|
|
|
{onEntryRaise} Raise {
|
|
|
event = "updateTimerValue"
|
|
|
parameter = $
|
|
|
- Element function raise(attributes : Element):
|
|
|
+ Element function raises(attributes : Element):
|
|
|
return attributes["counter"]!
|
|
|
$
|
|
|
}
|