Changeset 855 in ntrip for trunk/BNS/bnsrinex.cpp
- Timestamp:
- Apr 25, 2008, 4:07:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnsrinex.cpp
r854 r855 16 16 * -----------------------------------------------------------------------*/ 17 17 18 #include <math.h> 18 19 #include <iomanip> 19 20 … … 37 38 //////////////////////////////////////////////////////////////////////////// 38 39 void bnsRinex::writeHeader(const QDateTime& datTim) { 39 _out << "THIS IS A DUMMY HEADER" << endl;40 _out << "THIS IS A DUMMY CLOCK RINEX HEADER" << endl; 40 41 } 41 42 … … 47 48 if (bnsoutf::write(GPSweek, GPSweeks, prn, xx) == success) { 48 49 50 QDateTime datTim = dateAndTimeFromGPSweek(GPSweek, GPSweeks); 51 double sec = fmod(GPSweeks, 60.0); 52 53 _out << "AS " << prn.toAscii().data() 54 << datTim.toString(" yyyy MM dd hh mm").toAscii().data() 55 << setw(12) << setprecision(8) << sec << " 2 " 56 << setw(20) << setprecision(12) << xx(4) 57 << setw(20) << setprecision(12) << 0.0 << endl; 58 49 59 return success; 50 60 }
Note:
See TracChangeset
for help on using the changeset viewer.