7fe472115d
Files correlati : at9.exe at9300a.msk Ricompilazione Demo : [ ] Commento : aggiunto programma di aggiornamento dati da estrazione git-svn-id: svn://10.65.10.50/trunk@11660 c028cbd2-c16b-5b4b-a496-9718f37d4682
26 lines
572 B
C++
Executable File
26 lines
572 B
C++
Executable File
#include <xvt.h>
|
|
#include <strings.h>
|
|
#include <checks.h>
|
|
|
|
#include "at9.h"
|
|
|
|
#define usage "Error - usage : %s -{0|1|2}"
|
|
|
|
int main(int argc,char** argv)
|
|
{
|
|
int rt = -1 ;
|
|
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
|
|
switch (r)
|
|
{
|
|
case 0:
|
|
rt = at9100(argc,argv) ; break; // statistica soggetti sospesi
|
|
case 1:
|
|
rt = at9200(argc,argv) ; break; // Estrazione archivi per aggiornamento
|
|
case 2:
|
|
rt = at9300(argc,argv) ; break; // Aggiornamento archivi da estrazione
|
|
default:
|
|
error_box(usage, argv[0]) ; break;
|
|
}
|
|
return rt;
|
|
}
|