equal
deleted
inserted
replaced
1545 if blocktype["type"] == "program": |
1545 if blocktype["type"] == "program": |
1546 blocktypes.append(blocktype["name"]) |
1546 blocktypes.append(blocktype["name"]) |
1547 project = self.GetProject(debug) |
1547 project = self.GetProject(debug) |
1548 if project is not None: |
1548 if project is not None: |
1549 blocktypes.extend( |
1549 blocktypes.extend( |
1550 [pou.getblockInfos() |
1550 [pou.getname() |
1551 for pou in project.getpous(filter=["program"])]) |
1551 for pou in project.getpous(filter=["program"])]) |
1552 return blocktypes |
1552 return blocktypes |
1553 |
1553 |
1554 # Return Data Types checking for recursion |
1554 # Return Data Types checking for recursion |
1555 def GetDataTypes(self, tagname = "", basetypes = True, confnodetypes = True, only_locatables = False, debug = False): |
1555 def GetDataTypes(self, tagname = "", basetypes = True, confnodetypes = True, only_locatables = False, debug = False): |