2024-10-13 08:13:26 +00:00
|
|
|
//
|
|
|
|
// Created by angel on 13/10/2024.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef AUTOVELOX_FUNZIONI_H
|
|
|
|
#define AUTOVELOX_FUNZIONI_H
|
|
|
|
|
2024-10-13 19:49:19 +00:00
|
|
|
typedef struct {
|
|
|
|
char targa[8];
|
|
|
|
char data[11];
|
|
|
|
char ora[6];
|
|
|
|
char velocita[4];
|
|
|
|
}Multa;
|
|
|
|
|
2024-10-15 06:47:18 +00:00
|
|
|
Multa *creaMulta(char targa[], char data[], char ora[], float velocita[]);
|
2024-10-13 19:49:19 +00:00
|
|
|
void iniziaMulta(Multa *multe[]);
|
2024-10-15 06:47:18 +00:00
|
|
|
void aggiungiMulta(Multa *m);
|
|
|
|
int calcolaInfrazioni(float targa[]);
|
2024-10-15 05:42:03 +00:00
|
|
|
void salvaInfrazioni(Multa *multe[]);
|
2024-10-13 19:49:19 +00:00
|
|
|
|
2024-10-13 08:13:26 +00:00
|
|
|
#endif //AUTOVELOX_FUNZIONI_H
|