def __init__(self, _name, _type):
    self._type = _type
    self.blocked = False
    self._name = _name
    self._input_ports = []
    self._output_ports = []
def __init__(self, _name, _type):
    self._type = _type
    self.blocked = False
    self._name = _name
    self._input_ports = []
    self._output_ports = []