|
|
@@ -1,7 +1,7 @@
|
|
|
"""
|
|
|
Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
|
|
|
|
|
|
-Date: Fri Sep 29 15:11:02 2017
|
|
|
+Date: Wed Oct 04 10:31:51 2017
|
|
|
|
|
|
Model author: Simon Van Mierlo
|
|
|
Model name: Translational Semantics Debugging Interface
|
|
|
@@ -57,15 +57,17 @@ class Interface(RuntimeClassBase):
|
|
|
self.states["/running"].addTransition(_running_0)
|
|
|
_running_1 = Transition(self, self.states["/running"], [self.states["/running"]])
|
|
|
_running_1.setAction(self._running_1_exec)
|
|
|
- _running_1.setTrigger(Event("input", "input"))
|
|
|
+ _running_1.setTrigger(Event("mv_input", "input"))
|
|
|
self.states["/running"].addTransition(_running_1)
|
|
|
|
|
|
def _running_0_exec(self, parameters):
|
|
|
params = parameters[0]
|
|
|
+ print 'sending output to the console'
|
|
|
self.big_step.outputEvent(Event("mv_output", "output", [params]))
|
|
|
|
|
|
def _running_1_exec(self, parameters):
|
|
|
params = parameters[0]
|
|
|
+ print 'sending output to the modelverse'
|
|
|
self.big_step.outputEvent(Event("output", "mv_output", [params]))
|
|
|
|
|
|
def initializeStatechart(self):
|