Changeset 3015 in ntrip for trunk/BNC/combination/bnccomb.cpp
- Timestamp:
- Feb 22, 2011, 7:51:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3014 r3015 478 478 } 479 479 480 printResults(out, res Corr);480 printResults(out, resTime, resCorr); 481 481 dumpResults(resTime, resCorr); 482 482 … … 486 486 // Print results to caster 487 487 //////////////////////////////////////////////////////////////////////////// 488 void bncComb::printResults(QTextStream& out, 488 void bncComb::printResults(QTextStream& out, const bncTime& resTime, 489 489 const QMap<QString, t_corr*>& resCorr) { 490 490 … … 493 493 it.next(); 494 494 t_corr* corr = it.value(); 495 out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 496 out.setFieldWidth(3); 497 out << "Full Clock " << corr->prn << " " << corr->iod << " "; 498 out.setFieldWidth(8); 499 out << corr->dClk * t_CST::c << endl; 500 } 501 } 495 t_eph* eph = corr->eph; 496 if (eph) { 497 double xx, yy, zz, cc; 498 eph->position(resTime.gpsw(), resTime.gpssec(), xx, yy, zz, cc); 499 500 out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 501 out.setFieldWidth(3); 502 out << "Full Clock " << corr->prn << " " << corr->iod << " "; 503 out.setFieldWidth(14); 504 out << (cc + corr->dClk) * t_CST::c << endl; 505 } 506 else { 507 out << "bncComb::printResuls bug" << endl; 508 } 509 } 510 }
Note:
See TracChangeset
for help on using the changeset viewer.