2011-03-21 14:23:00 +00:00
|
|
|
#include <xvt.h>
|
|
|
|
#include "ha3.h"
|
|
|
|
|
|
|
|
int main(int argc,char** argv)
|
|
|
|
{
|
|
|
|
int rt = -1 ;
|
|
|
|
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
|
|
|
|
|
|
|
|
switch (r)
|
|
|
|
{
|
2011-04-20 13:59:52 +00:00
|
|
|
case 6: rt = ha3700(argc, argv); break; //Stampa storico
|
2011-04-11 15:33:07 +00:00
|
|
|
case 7: rt = ha3800(argc, argv); break; //Inserimento righe storico da documenti
|
|
|
|
case 8: rt = ha3900(argc, argv); break; //Gestione storico attrezzature
|
2012-09-14 12:54:44 +00:00
|
|
|
default: rt = ha3100(argc, argv); break; //Gestione giri
|
2011-03-21 14:23:00 +00:00
|
|
|
}
|
|
|
|
return rt;
|
|
|
|
}
|