equal
deleted
inserted
replaced
2215 |
2215 |
2216 def _UpdateIOElementName(self, old_name, new_name): |
2216 def _UpdateIOElementName(self, old_name, new_name): |
2217 if self.expression == old_name: |
2217 if self.expression == old_name: |
2218 self.expression = new_name |
2218 self.expression = new_name |
2219 |
2219 |
2220 def _UpdateIOElementAddress(self, old_name, new_name): |
2220 def _UpdateIOElementAddress(self, address_model, new_leading): |
2221 self.expression = update_address(self.expression, address_model, new_leading) |
2221 self.expression = update_address(self.expression, address_model, new_leading) |
2222 |
2222 |
2223 cls = _initElementClass("inVariable", "fbdObjects") |
2223 cls = _initElementClass("inVariable", "fbdObjects") |
2224 if cls: |
2224 if cls: |
2225 setattr(cls, "updateElementName", _UpdateIOElementName) |
2225 setattr(cls, "updateElementName", _UpdateIOElementName) |