PLCControler.py
changeset 1616 3638463d6e02
parent 1581 2295fdc5c271
child 1619 163d3a883575
equal deleted inserted replaced
1615:af9b0ccb418e 1616:3638463d6e02
  2182             if project is not None:
  2182             if project is not None:
  2183                 pou = self.Project.getpou(words[1])
  2183                 pou = self.Project.getpou(words[1])
  2184                 if pou is not None:
  2184                 if pou is not None:
  2185                     return self.GetPouInterfaceReturnType(pou, tree, debug)
  2185                     return self.GetPouInterfaceReturnType(pou, tree, debug)
  2186         elif words[0] == 'T':
  2186         elif words[0] == 'T':
  2187             return "BOOL"
  2187             return ["BOOL", ([], [])]
  2188         return None
  2188         return None
  2189 
  2189 
  2190     # Change the edited element text
  2190     # Change the edited element text
  2191     def SetEditedElementText(self, tagname, text):
  2191     def SetEditedElementText(self, tagname, text):
  2192         if self.Project is not None:
  2192         if self.Project is not None: