--- a/graphics/GraphicCommons.py Thu Dec 06 17:14:03 2012 +0100
+++ b/graphics/GraphicCommons.py Tue Dec 11 01:17:52 2012 +0100
@@ -352,6 +352,9 @@
if iec_path is not None:
self.DataProducer.UnsubscribeDebugIECVariable(iec_path, consumer)
+ def RegisterVariables(self):
+ pass
+
def GetDataType(self, iec_path):
if self.DataProducer is not None:
infos = self.DataProducer.GetInstanceInfos(iec_path)
@@ -2015,6 +2018,7 @@
def Clone(self, parent, connectors = {}, dx = 0, dy = 0):
start_connector = connectors.get(self.StartConnected, None)
end_connector = connectors.get(self.EndConnected, None)
+ print self.StartConnected, "=>", start_connector, ",", self.EndConnected, "=>", end_connector
if start_connector is not None and end_connector is not None:
wire = Wire(parent)
wire.SetPoints([(point.x + dx, point.y + dy) for point in self.Points])