<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def paramtypes(self):
 """ get all parameter types """

        for m in [p[1] for p in self.ports]:
            for p in [p[1] for p in m]:
                for pd in p:
                    if pd[1] in self.params:
                        continue
                    item = (pd[1], pd[1].resolve())
                    self.params.append(item)