Changeset 859 in ntrip
- Timestamp:
- Apr 26, 2008, 10:55:42 AM (17 years ago)
- Location:
- trunk/BNS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnsoutf.h
r854 r859 19 19 protected: 20 20 virtual void writeHeader(const QDateTime& datTim) = 0; 21 virtual void closeFile(); 21 22 std::ofstream _out; 22 23 … … 26 27 QDateTime* nextEpoch = 0); 27 28 void resolveFileName(int GPSweek, const QDateTime& datTim); 28 void closeFile();29 29 30 30 int _sampl; -
trunk/BNS/bnsrinex.cpp
r858 r859 47 47 _out << "AS " << prn.toAscii().data() 48 48 << datTim.toString(" yyyy MM dd hh mm").toAscii().data() 49 << fixed << setw(10) << setprecision(6) << sec << " 2 "50 << scientific << setw(20) << setprecision(12) << xx(4)51 << scientific << setw( 20) << setprecision(12) << 0.0<< endl;49 << fixed << setw(10) << setprecision(6) << sec 50 << " 1 " 51 << scientific << setw(19) << setprecision(12) << xx(4) << endl; 52 52 53 53 return success; -
trunk/BNS/bnssp3.cpp
r855 r859 39 39 } 40 40 41 // Write Header42 ////////////////////////////////////////////////////////////////////////////43 void bnsSP3::writeHeader(const QDateTime& datTim) {44 _out << "THIS IS A DUMMY SP3 HEADER" << endl;45 }46 47 41 // Write One Epoch 48 42 //////////////////////////////////////////////////////////////////////////// … … 74 68 } 75 69 } 70 71 // Close File (write last line) 72 //////////////////////////////////////////////////////////////////////////// 73 void bnsSP3::closeFile() { 74 _out << "EOF" << endl; 75 bnsoutf::closeFile(); 76 } 77 78 // Write Header 79 //////////////////////////////////////////////////////////////////////////// 80 void bnsSP3::writeHeader(const QDateTime& datTim) { 81 _out << "#cP2007 7 1 0 0 0.00000000 96 ORBIT IGS05 HLM IGS" 82 << "## 1434 0.00000000 900.00000000 54282 0.0000000000000" 83 84 _out << "+ 32 G01G02G03G04G05G06G07G08G09G10G11G12G13G14G15G16G17\n" 85 << "+ G18G19G20G21G22G23G24G25G26G27G28G29G30G31G32 0 0\n" 86 << "+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" 87 << "+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" 88 << "+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" 89 << "++ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" 90 << "++ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" 91 << "++ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" 92 << "++ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" 93 << "++ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" 94 << "%c cc cc ccc ccc cccc cccc cccc cccc ccccc ccccc ccccc ccccc\n" 95 << "%c cc cc ccc ccc cccc cccc cccc cccc ccccc ccccc ccccc ccccc\n" 96 << "%f 0.0000000 0.000000000 0.00000000000 0.000000000000000\n" 97 << "%f 0.0000000 0.000000000 0.00000000000 0.000000000000000\n" 98 << "%i 0 0 0 0 0 0 0 0 0\n" 99 << "%i 0 0 0 0 0 0 0 0 0\n" 100 << "/* \n" 101 << "/* \n" 102 << "/* \n" 103 << "/* \n"; 104 } 105 -
trunk/BNS/bnssp3.h
r854 r859 18 18 private: 19 19 virtual void writeHeader(const QDateTime& datTim); 20 virtual void closeFile(); 20 21 int _lastGPSweek; 21 22 double _lastGPSweeks;
Note:
See TracChangeset
for help on using the changeset viewer.