controls/VariablePanel.py
changeset 853 0f97bddb5a30
parent 831 dec885ba1f2b
child 863 b1ead41fbd3b
equal deleted inserted replaced
852:1009f956d2ee 853:0f97bddb5a30
   578             self.PouIsUsed = False
   578             self.PouIsUsed = False
   579             self.Values = self.Controler.GetConfigurationResourceGlobalVars(words[1], words[2], self.Debug)
   579             self.Values = self.Controler.GetConfigurationResourceGlobalVars(words[1], words[2], self.Debug)
   580         else:
   580         else:
   581             if self.ElementType == "function":
   581             if self.ElementType == "function":
   582                 self.ReturnType.Clear()
   582                 self.ReturnType.Clear()
   583                 for base_type in self.Controler.GetDataTypes(self.TagName, True, debug=self.Debug):
   583                 for data_type in self.Controler.GetDataTypes(self.TagName, debug=self.Debug):
   584                     self.ReturnType.Append(base_type)
   584                     self.ReturnType.Append(data_type)
   585                 returnType = self.Controler.GetEditedElementInterfaceReturnType(self.TagName)
   585                 returnType = self.Controler.GetEditedElementInterfaceReturnType(self.TagName)
   586             description = self.Controler.GetPouDescription(words[1])
   586             description = self.Controler.GetPouDescription(words[1])
   587             self.PouIsUsed = self.Controler.PouIsUsed(words[1])
   587             self.PouIsUsed = self.Controler.PouIsUsed(words[1])
   588             self.Values = self.Controler.GetEditedElementInterfaceVars(self.TagName, self.Debug)
   588             self.Values = self.Controler.GetEditedElementInterfaceVars(self.TagName, self.Debug)
   589         
   589