Adding support for drag'n dropping located variables from topology panel to configurations and resources variable panel for declaring global located variables
authorlaurent
Sun, 08 Jan 2012 19:04:41 +0100
changeset 659 71a824446673
parent 658 94417ab25510
child 660 56b536118ec8
Adding support for drag'n dropping located variables from topology panel to configurations and resources variable panel for declaring global located variables
LPCBeremiz.py
plugins/c_ext/c_ext.py
--- a/LPCBeremiz.py	Wed Dec 21 19:43:40 2011 +0100
+++ b/LPCBeremiz.py	Sun Jan 08 19:04:41 2012 +0100
@@ -221,6 +221,7 @@
                     "type": infos["type"],
                     "size": size,
                     "IEC_type": infos["IEC_type"],
+                    "var_name": infos["name"],
                     "location": location,
                     "description": infos["description"],
                     "children": []}
--- a/plugins/c_ext/c_ext.py	Wed Dec 21 19:43:40 2011 +0100
+++ b/plugins/c_ext/c_ext.py	Sun Jan 08 19:04:41 2012 +0100
@@ -104,6 +104,7 @@
                          "type": var_class,
                          "size": var_size,
                          "IEC_type": var.gettype(),
+                         "var_name": var.getname(),
                          "location": var_location,
                          "description": "",
                          "children": []})