PLCControler.py
branchsearch_in_CTN
changeset 2529 efb532295607
parent 2523 aa7f138648f3
child 2551 245644bfcd24
equal deleted inserted replaced
2528:6bfc8a9bf0e7 2529:efb532295607
  2748     #                       Search in Current Project Functions
  2748     #                       Search in Current Project Functions
  2749     # -------------------------------------------------------------------------------
  2749     # -------------------------------------------------------------------------------
  2750 
  2750 
  2751     def SearchInProject(self, criteria):
  2751     def SearchInProject(self, criteria):
  2752         project_matches =  self.Project.Search(criteria)
  2752         project_matches =  self.Project.Search(criteria)
  2753         print(project_matches)
       
  2754         ctn_matches =  self.CTNSearch(criteria)
  2753         ctn_matches =  self.CTNSearch(criteria)
  2755         return project_matches + ctn_matches
  2754         return project_matches + ctn_matches
  2756 
  2755 
  2757     def SearchInPou(self, tagname, criteria, debug=False):
  2756     def SearchInPou(self, tagname, criteria, debug=False):
  2758         pou = self.GetEditedElement(tagname, debug)
  2757         pou = self.GetEditedElement(tagname, debug)