equal
deleted
inserted
replaced
150 |
150 |
151 def GetSlaveVariables(self, limits): |
151 def GetSlaveVariables(self, limits): |
152 return self.CTNParent.GetSlaveVariables(self.GetSlavePos(), limits) |
152 return self.CTNParent.GetSlaveVariables(self.GetSlavePos(), limits) |
153 |
153 |
154 def GetVariableLocationTree(self): |
154 def GetVariableLocationTree(self): |
155 return {"name": self.BaseParams.getName(), |
155 return { |
156 "type": LOCATION_CONFNODE, |
156 "name": self.BaseParams.getName(), |
157 "location": self.GetFullIEC_Channel(), |
157 "type": LOCATION_CONFNODE, |
158 "children": self.CTNParent.GetDeviceLocationTree(self.GetSlavePos(), self.GetCurrentLocation(), self.BaseParams.getName()) |
158 "location": self.GetFullIEC_Channel(), |
|
159 "children": self.CTNParent.GetDeviceLocationTree(self.GetSlavePos(), self.GetCurrentLocation(), self.BaseParams.getName()) |
159 } |
160 } |
160 |
161 |
161 def CTNGenerate_C(self, buildpath, locations): |
162 def CTNGenerate_C(self, buildpath, locations): |
162 return [],"",False |
163 return [],"",False |