Changeset 3011 in ntrip for trunk/BNC/combination/bnccomb.cpp
- Timestamp:
- Feb 22, 2011, 7:19:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3000 r3011 462 462 } 463 463 } 464 out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 464 465 out.setRealNumberNotation(QTextStream::FixedNotation); 465 466 out.setFieldWidth(8); … … 470 471 } 471 472 473 printResults(out, resCorr); 472 474 dumpResults(resTime, resCorr); 473 475 474 476 emit newMessage(_log, false); 475 477 } 478 479 // Print results to caster 480 //////////////////////////////////////////////////////////////////////////// 481 void bncComb::printResults(QTextStream& out, 482 const QMap<QString, t_corr*>& resCorr) { 483 484 QMapIterator<QString, t_corr*> it(resCorr); 485 while (it.hasNext()) { 486 it.next(); 487 t_corr* corr = it.value(); 488 out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 489 out << corr->prn << " " << corr->iod << " "; 490 out.setRealNumberNotation(QTextStream::FixedNotation); 491 out.setFieldWidth(8); 492 out.setRealNumberPrecision(4); 493 out << corr->dClk * t_CST::c << endl; 494 } 495 }
Note:
See TracChangeset
for help on using the changeset viewer.