giomba
35f5041b7f
when you cash out, instead of sending many packets, you can aggregate multiple products in the same packet, doing an array; thus you have better power efficiency, and less delay; so both Anastasi and Marcelloni would be very proud of us
14 lines
242 B
C
14 lines
242 B
C
#ifndef EVENT_H
|
|
#define EVENT_H
|
|
|
|
enum CartEvent {
|
|
CART_EVENT_ASSOCIATED,
|
|
CART_EVENT_ASSIGNED,
|
|
CART_EVENT_CASH_OUT,
|
|
CART_EVENT_NEW_PRODUCT,
|
|
CART_EVENT_CASH_OUT_ACK,
|
|
CART_EVENT_CASH_OUT_PARTIAL_LIST_ACK
|
|
} event;
|
|
|
|
#endif
|