| 1 |
//============================================================================ |
//============================================================================ |
| 2 |
// $Id: PacketUser.cpp,v 1.4 2008/12/18 14:46:56 mocchiut Exp $ |
// $Id: PacketUser.cpp,v 1.6 2008/12/23 20:43:08 mocchiut Exp $ |
| 3 |
// Description : |
// Description : |
| 4 |
//============================================================================ |
//============================================================================ |
| 5 |
#include "PacketUser.h" |
#include "PacketUser.h" |
| 87 |
boot_number_prevvalue=0; |
boot_number_prevvalue=0; |
| 88 |
|
|
| 89 |
//(tassa) |
//(tassa) |
| 90 |
id_to_recover[1000]; |
// id_to_recover[1000]; // Emiliano: che si vuole fare con questa riga? cosi` non fa nulla... |
| 91 |
id_to_recover_index=0; |
id_to_recover_index=0; |
| 92 |
} |
} |
| 93 |
|
|
| 325 |
|
|
| 326 |
stringstream oss; |
stringstream oss; |
| 327 |
oss.str()=""; |
oss.str()=""; |
| 328 |
oss<<"In download: "<<download<<" timeOffset: "<<timeOffset<<" obt_time_sync: "<<obt_time_sync<<" last_time_sync_info: "<<last_time_sync_info<<" using Packet Type: "<<type->GetName().c_str(); |
oss<<"In download: "<<download<<" timeOffset: "<<timeOffset<<" obt_time_sync: "<<obt_time_sync<<" last_time_sync_info: "<<last_time_sync_info<<" using Packet Type: "<<type->GetName(); |
| 329 |
|
// oss<<"In download: "<<download<<" timeOffset: "<<timeOffset<<" obt_time_sync: "<<obt_time_sync<<" last_time_sync_info: "<<last_time_sync_info<<" using Packet Type: "<<type->GetName().c_str(); |
| 330 |
string msg = oss.str(); |
string msg = oss.str(); |
| 331 |
mainLogUtil->logAll(msg); |
mainLogUtil->logAll(msg); |
| 332 |
} |
} |
| 352 |
*/ |
*/ |
| 353 |
stringstream oss; |
stringstream oss; |
| 354 |
oss.str()=""; |
oss.str()=""; |
| 355 |
oss<<"In download: "<<download<<" boot_number: "<<boot_number<<" using Packet Type: "<<type->GetName().c_str(); |
// oss<<"In download: "<<download<<" boot_number: "<<boot_number<<" using Packet Type: "<<type->GetName().c_str(); |
| 356 |
|
oss<<"In download: "<<download<<" boot_number: "<<boot_number<<" using Packet Type: "<<type->GetName(); |
| 357 |
string msg = oss.str(); |
string msg = oss.str(); |
| 358 |
mainLogUtil->logAll(msg); |
mainLogUtil->logAll(msg); |
| 359 |
return; |
return; |
| 431 |
|
|
| 432 |
oss.str(""); |
oss.str(""); |
| 433 |
oss << "SELECT YEAR(OFFSET_DATE),MONTH(OFFSET_DATE),DAY(OFFSET_DATE),HOUR(OFFSET_DATE),MINUTE(OFFSET_DATE),SECOND(OFFSET_DATE),ID FROM "<< table <<" WHERE FROM_ORBIT < " |
oss << "SELECT YEAR(OFFSET_DATE),MONTH(OFFSET_DATE),DAY(OFFSET_DATE),HOUR(OFFSET_DATE),MINUTE(OFFSET_DATE),SECOND(OFFSET_DATE),ID FROM "<< table <<" WHERE FROM_ORBIT < " |
| 434 |
<< orbit_number << " order by FROM_ORBIT desc limit 1;"; |
<< orbit_number << " AND SPECIAL_FILE='' order by FROM_ORBIT desc limit 1;"; |
| 435 |
|
|
| 436 |
string msg2 = oss.str(); |
string msg2 = oss.str(); |
| 437 |
mainLogUtil->logAll(msg2); |
mainLogUtil->logAll(msg2); |