Changeset 4987 in ntrip for trunk/BNC/src/bnccaster.cpp


Ignore:
Timestamp:
Mar 20, 2013, 9:57:46 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccaster.cpp

    r4793 r4987  
    340340    QList<t_obs> allObs = _epochs->values(sec);
    341341
     342    bool firstEpoLine = true;
     343
    342344    QListIterator<t_obs> it(allObs);
    343345    while (it.hasNext()) {
     
    349351          ostringstream oStr;
    350352          oStr.setf(ios::showpoint | ios::fixed);
    351           oStr << obs.StatID                                        << " "
    352                << obs.GPSWeek                                       << " "
    353                << setprecision(7) << obs.GPSWeeks                   << " "
    354                << bncRinex::asciiSatLine(obs) << endl;
     353          if (firstEpoLine) {
     354            firstEpoLine = false;
     355            oStr << "> " << obs.GPSWeek << ' '
     356                 << setprecision(7) << obs.GPSWeeks << endl;;
     357          }
     358          oStr << obs.StatID << ' ' << bncRinex::asciiSatLine(obs) << endl;
    355359          if (!it.hasNext()) {
    356360            oStr << endl;
Note: See TracChangeset for help on using the changeset viewer.