-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefinicoes.h
More file actions
42 lines (34 loc) · 726 Bytes
/
definicoes.h
File metadata and controls
42 lines (34 loc) · 726 Bytes
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
//
// Created by alessandro on 20/04/2020.
//
#ifndef VENDINGMACHINE_DEFINICOES_H
#define VENDINGMACHINE_DEFINICOES_H
#define NUM_ESTADOS 5
#define NUM_EVENTOS 10
#define NENHUM_EVENTO -1
#define INSERIRDINHEIRO 1
#define DINHEIROINSERIDO 4
#define PEDIR 2
#define PEDIDOSUCESSO 5
#define CANCELAR 3
#define ALTERARESTOQUE 7
#define ESTOQUEALTERADO 9
#define REMOVERPRODUTO 8
#define PRODUTOREMOVIDO 10
#define NENHUMA_ACAO -1
#define A01 1
#define A02 2
#define A03 3
#define A04 4
#define A05 5
#define A06 6
#define A07 7
#define A08 8
#define A09 9
#define IDLE 0
#define PEDINDO 1
#define INSERINDO 2
#define CANCELANDO 3
#define ALTERANDOESTOQUE 4
#define REMOVENDOPRODUTO 5
#endif //VENDINGMACHINE_DEFINICOES_H