Ejemplo n.º 1
0
    def __init__(self, args):        
        Proceso.__init__(self,args)

        self.numero = args[4]
        self.duracion = int(args[5])
Ejemplo n.º 2
0
Archivo: otro.py Proyecto: rlecaro2/so
 def __init__(self,args):
     Proceso.__init__(self,args)
     self.duracion = int(args[4])
Ejemplo n.º 3
0
    def __init__(self, args):        
        Proceso.__init__(self,args)

        self.numero = args[4]
        self.mensaje = args[5]
        self.duracion = math.ceil(len(self.mensaje)*0.02)
Ejemplo n.º 4
0
 def __init__(self, args):        
     Proceso.__init__(self,args)
     
     self.nombreContacto = args[4]
     self.numeroContacto = args[5]
Ejemplo n.º 5
0
 def __init__(self, args):        
     Proceso.__init__(self,args)
     self.duracion = 2
Ejemplo n.º 6
0
	def __init__(self, nombre, tiempo,  sistema, recursos, prioridad):
		Proceso.__init__(self, nombre, tiempo, sistema, recursos)

		self.prioridad = prioridad
Ejemplo n.º 7
0
    def __init__(self, nombre, tiempo, sistema, recursos):
        Proceso.__init__(self, nombre, tiempo, sistema, recursos)

        self.cuanto = 0