Пример #1
0
    def __init__(self):
        pycd3.Node.__init__(self)
        self.outflow = pycd3.Flow()

        self.numberof_in_ports = pycd3.Integer(2)
        self.addParameter("Number_of_Inports", self.numberof_in_ports)       
Пример #2
0
 def __init__(self):
     pycd3.Node.__init__(self)
     self.inflow = pycd3.Flow()
     self.numberof_out_ports = pycd3.Integer(2)
     self.addParameter("Number_of_Outports", self.numberof_out_ports)