"""
operation.py
~~~~~~~~~~~~~
This stores the information of each individual operation in the
production line.
 - name improves readability when printing
 - machine is the machine in which that operation will be executed
 - duration is the amount of time in which the operation will be completed
 - job_model is the radiator model that this operation belongs to
 - job_id is the job to which this operation belongs
 - dependencies is a list containing the operations that this operation
   depends on
"""
class Operation:

    def __init__(self, name, machine, duration, job_model, job_id):
    	self.name = name
    	self.machine = machine
    	self.duration = duration
    	self.job_model = job_model
    	self.job_id = job_id
    	self.dependencies = []
    	self.start_time = 0

    def __str__(self):
    	return (" Etapa: " + str(self.machine)
    		+ "\t Modelo: " + str(self.job_model)+ "\t Tiempo inicio: " + str(format(round(self.start_time,2))) + "\t  Duracion: " + str(format(round(self.duration,2))))

    def print_dependencies(self):
    	if len(self.dependencies) > 0:
    		print(str(self) + " depends on ")
    		for operation in self.dependencies:
    			print(str(operation))

@@ -818,14 +818,46 @@
 n (%22
- Etapa
+Job ID: %22 + str(self.job_id) + %22 Stage
 : %22 
@@ -893,17 +893,16 @@
 %5Ct Model
-o
 : %22 + st
@@ -928,21 +928,18 @@
 %22%5Ct 
-Tiempo inicio
+Start time
 : %22 
@@ -989,17 +989,17 @@
 %5Ct  Dura
-c
+t
 ion: %22 +

Translate to english and add Job ID to the string representation