PLCControler.py
changeset 738 1ccd08cfae0c
parent 712 c11b54730a7b
equal deleted inserted replaced
737:85a4bc7dc31e 738:1ccd08cfae0c
  2958 #-------------------------------------------------------------------------------
  2958 #-------------------------------------------------------------------------------
  2959 
  2959 
  2960     def SearchInProject(self, criteria):
  2960     def SearchInProject(self, criteria):
  2961         return self.Project.Search(criteria)
  2961         return self.Project.Search(criteria)
  2962 
  2962 
       
  2963     def SearchInPou(self, tagname, criteria, debug=False):
       
  2964         pou = self.GetEditedElement(tagname, debug)
       
  2965         if pou is not None:
       
  2966             return pou.Search(criteria)
       
  2967         return []
       
  2968 
  2963 #-------------------------------------------------------------------------------
  2969 #-------------------------------------------------------------------------------
  2964 #                      Current Buffering Management Functions
  2970 #                      Current Buffering Management Functions
  2965 #-------------------------------------------------------------------------------
  2971 #-------------------------------------------------------------------------------
  2966 
  2972 
  2967     """
  2973     """