equal
deleted
inserted
replaced
132 "children": children, |
132 "children": children, |
133 } |
133 } |
134 |
134 |
135 def CTNGlobalInstances(self): |
135 def CTNGlobalInstances(self): |
136 current_location = self.GetCurrentLocation() |
136 current_location = self.GetCurrentLocation() |
137 return [("%s_%s" % (block_infos["blocktype"], "_".join(map(str, current_location)), None), |
137 return [("%s_%s" % (block_infos["blocktype"], "_".join(map(str, current_location))), |
138 "EtherLab%s" % block_infos["blocktype"], "") for block_infos in GLOBAL_INSTANCES] |
138 "EtherLab%s" % block_infos["blocktype"], "") for block_infos in GLOBAL_INSTANCES] |
139 |
139 |
140 def _getCIA402AxisRef(self): |
140 def _getCIA402AxisRef(self): |
141 data = wx.TextDataObject(str(("%%IW%s.0" % ".".join(map(str, self.GetCurrentLocation())), |
141 data = wx.TextDataObject(str(("%%IW%s.0" % ".".join(map(str, self.GetCurrentLocation())), |
142 "location", "AXIS_REF", self.CTNName(), ""))) |
142 "location", "AXIS_REF", self.CTNName(), ""))) |