浏览代码

Merge branch 'master' into AL_print

Yentl Van Tendeloo 7 年之前
父节点
当前提交
f62d8bb54c
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      models/cbd_design.mvc
  2. 1 1
      wrappers/modelverse.py
  3. 1 1
      wrappers/modelverse_SCCD.py

+ 2 - 2
models/cbd_design.mvc

@@ -1,7 +1,7 @@
 include "primitives.alh"
 
-Class Float {}
-Class String {}
+SimpleAttribute Float {}
+SimpleAttribute String {}
 
 Class Block{}
 Class ICBlock{}

+ 1 - 1
wrappers/modelverse.py

@@ -131,7 +131,7 @@ def __run_new_modelverse_activity(address, username, password, taskname, pipe, c
                 response = pipe.recv()
 
                 if response.name == "output":
-                    controller.addInput(Event("data_input", "action_in", [response.parameters, context]))
+                    controller.addInput(Event("data_input", "action_in", [response.parameters, None]))
                 else:
                     raise Exception("Unknown data from SC to MV: " + str(response))
                 empty = False

+ 1 - 1
wrappers/modelverse_SCCD.py

@@ -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:   Wed Apr  4 14:07:17 2018
+Date:   Wed Apr  4 16:40:16 2018
 
 Model author: Yentl Van Tendeloo
 Model name:   MvK Server