587 |
// Start: |
// Start: |
588 |
// |
// |
589 |
printf("\n Welcome to the PAMELA LEVEL2 flight software, version %s (The Ultimate Warrior)\n\n",version.Data()); |
printf("\n Welcome to the PAMELA LEVEL2 flight software, version %s (The Ultimate Warrior)\n\n",version.Data()); |
590 |
if ( run ) printf("\n Processing run number %u \n\n",run); |
if ( run ){ |
591 |
|
printf("\n Processing run number %u \n",run); |
592 |
|
} else { |
593 |
|
printf("\n Re-processing all runs?\n"); |
594 |
|
} |
595 |
// |
// |
596 |
// Connect to the DB |
// Connect to the DB |
597 |
// |
// |
609 |
glt = new GL_TABLES(host,user,psw); |
glt = new GL_TABLES(host,user,psw); |
610 |
//GL_TABLES *glt = new GL_TABLES(host,user,psw); |
//GL_TABLES *glt = new GL_TABLES(host,user,psw); |
611 |
// |
// |
612 |
|
printf("\n DB settings:\n SQL: %s Version: %s Host %s Port %i \n",dbc->GetDBMS(),dbc->ServerInfo(),dbc->GetHost(),dbc->GetPort()); |
613 |
|
printf(" DB %s --- User %s \n\n",host.Data(),user.Data()); |
614 |
if ( debug ) printf("\n DB INFORMATIONS:\n SQL: %s Version: %s Host %s Port %i \n\n",dbc->GetDBMS(),dbc->ServerInfo(),dbc->GetHost(),dbc->GetPort()); |
if ( debug ) printf("\n DB INFORMATIONS:\n SQL: %s Version: %s Host %s Port %i \n\n",dbc->GetDBMS(),dbc->ServerInfo(),dbc->GetHost(),dbc->GetPort()); |
615 |
// |
// |
616 |
// Use UTC in the DB |
// Use UTC in the DB |