Changeset 6457 in ntrip


Ignore:
Timestamp:
Dec 27, 2014, 4:15:28 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6456 r6457  
    2525    return;
    2626  }
    27   *out << "CLOCK CORRECTIONS: " << corrList.size() << endl;
    28 
     27  out->setf(ios::fixed);
     28  bncTime epoTime;
     29  QListIterator<t_clkCorr> it(corrList);
     30  while (it.hasNext()) {
     31    const t_clkCorr& corr = it.next();
     32    if (!epoTime.valid()) {
     33      epoTime = corr._time;
     34      *out << "> CLOCK " << string(epoTime) << ' ' << setw(3) << corrList.size() << ' '
     35           << corr._staID << endl;
     36    }
     37    *out << corr._prn.toString() << ' ' << setw(3) << corr._iod << ' '
     38         << setw(10) << setprecision(4) << corr._dClk       * t_CST::c << ' '
     39         << setw(10) << setprecision(4) << corr._dotDClk    * t_CST::c << ' '
     40         << setw(10) << setprecision(4) << corr._dotDotDClk * t_CST::c << endl;
     41  }
    2942  out->flush();
    3043}
Note: See TracChangeset for help on using the changeset viewer.