PLCControler.py
changeset 117 bbe0697cf1ea
parent 116 58b9b84e385f
child 118 0c53d6a36013
equal deleted inserted replaced
116:58b9b84e385f 117:bbe0697cf1ea
  2123                 self.Buffering = False
  2123                 self.Buffering = False
  2124                 self.ElementsOpened = []
  2124                 self.ElementsOpened = []
  2125                 self.CurrentElementEditing = None
  2125                 self.CurrentElementEditing = None
  2126                 self.RefreshPouUsingTree()
  2126                 self.RefreshPouUsingTree()
  2127                 self.RefreshBlockTypes()
  2127                 self.RefreshBlockTypes()
  2128                 return True
  2128                 return None
  2129         return False
  2129         return "No PLC project found"
  2130 
  2130 
  2131     def SaveXMLFile(self, filepath = None):
  2131     def SaveXMLFile(self, filepath = None):
  2132         if not filepath and self.FilePath == "":
  2132         if not filepath and self.FilePath == "":
  2133             return False
  2133             return False
  2134         else:
  2134         else: