PLCControler.py
changeset 2551 245644bfcd24
parent 2529 efb532295607
child 2614 6b4061f6ced6
equal deleted inserted replaced
2550:f2af2a655868 2551:245644bfcd24
  2747     # -------------------------------------------------------------------------------
  2747     # -------------------------------------------------------------------------------
  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         ctn_matches =  self.CTNSearch(criteria)
  2753         ctn_matches = self.CTNSearch(criteria)
  2754         return project_matches + ctn_matches
  2754         return project_matches + ctn_matches
  2755 
  2755 
  2756     def SearchInPou(self, tagname, criteria, debug=False):
  2756     def SearchInPou(self, tagname, criteria, debug=False):
  2757         pou = self.GetEditedElement(tagname, debug)
  2757         pou = self.GetEditedElement(tagname, debug)
  2758         if pou is not None:
  2758         if pou is not None: