-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproceso.h
73 lines (66 loc) · 1.91 KB
/
proceso.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#include <string>
#include "operacion.h"
#ifndef PROCESO_H_INCLUDED
#define PROCESO_H_INCLUDED
class Proceso{
private:
std::string nombre;
Operacion operacion;
int id;
int idLote;
int TME; //Tiempo total estimado
int TT; //Tiempo total
int TR; //Tiempo restante
int TTbloqueado; //Tiempo total en Bloqueados
int TLL; //Tiempo de llegada
int TFinalizacion;//
int TServicio;
int TEspera;
int TRetorno;
int TRespuesta;
std::string estadoActual;
int peso;
public:
Proceso();
Proceso(std::string nombre,Operacion, int id, int TME, int TT, int TR);
Proceso(std::string nombre,Operacion, int id, int TME, int idLote);
Proceso(std::string nombre,Operacion, int id, int TME);
void setNombre(std::string);
void setOperacion(Operacion);
void setId(int);
void setTME(int);
void setTT(int);
void setTR(int);
void setTTbloqueado(int);
void setTLL(int);
void setTFinalizacion(int);//
void setTServicio(int);
void setTEspera(int);
void setTRetorno(int);
void setTRespuesta(int);
void setEstadoActual(std::string);
void setPeso(int);
std::string getNombre();
Operacion& getOperacion();
int getId();
int getTME();
int getTT();
int getTR();
int getIdLote();
int getTTbloqueado();
int getTLL();
int getTFinalizacion();
int getTServicio();
int getTEspera();
int getTRetorno();
int getTRespuesta();
std::string getEstadoActual();
int getPeso();
std::string loteActual();
std::string terminados();
std::string ejecucion();
std::string bloqueado();
std::string BCP();
std::string toString();
};
#endif