Changeset 7523 in ntrip
- Timestamp:
- Oct 19, 2015, 3:01:57 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncsinextro.cpp
r7521 r7523 85 85 86 86 87 QString numberOfEpochs = QString("%1").arg( intr/_sampl, 5, 10, QLatin1Char('0'));87 QString numberOfEpochs = QString("%1").arg(1, 5, 10, QLatin1Char('0')); 88 88 _out << "%=TRO 2.00 BNC " << creationTime.toStdString() << " BNC " 89 89 << startTime.toStdString() << " " << endTime.toStdString() << " P " … … 102 102 _out << "-SITE/ID" << endl << endl; 103 103 104 105 _out << "+SITE/RECEIVER" << endl;106 _out << "*SITE PT SOLN T DATA_START__ DATA_END____ DESCRIPTION_________ S/N__ FIRMWARE___" << endl;107 _out << " " << _opt->_roverName.substr(0,4) << " A 1 P "108 << startTime.toStdString() << " " << endTime.toStdString() << " " << _opt->_recNameRover << endl;109 _out << "-SITE/RECEIVER" << endl << endl;110 104 if (!_opt->_recNameRover.empty()) { 105 _out << "+SITE/RECEIVER" << endl; 106 _out << "*SITE PT SOLN T DATA_START__ DATA_END____ DESCRIPTION_________ S/N__ FIRMWARE___" << endl; 107 _out << " " << _opt->_roverName.substr(0,4) << " A 1 P " 108 << startTime.toStdString() << " " << endTime.toStdString() << " " << _opt->_recNameRover << endl; 109 _out << "-SITE/RECEIVER" << endl << endl; 110 } 111 111 112 112 _out << "+SITE/ANTENNA" << endl; -
trunk/BNC/src/pppCrdFile.cpp
r6050 r7523 36 36 * Created: 29-Jul-2014 37 37 * 38 * Changes: 38 * Changes: 39 39 * 40 40 * -----------------------------------------------------------------------*/ … … 48 48 using namespace BNC_PPP; 49 49 50 // 50 // 51 51 ////////////////////////////////////////////////////////////////////////////// 52 52 void t_pppCrdFile::readCrdFile(const string& fileName, vector<t_staInfo>& staInfoVec) { … … 61 61 continue; 62 62 } 63 63 64 64 istringstream in; 65 65 … … 87 87 88 88 if (!in.eof()) { 89 getline(in, staInfo._antenna); 90 stripWhiteSpace(staInfo._antenna); 89 std::string hlp; 90 getline(in, hlp); 91 stripWhiteSpace(hlp); 92 staInfo._antenna = hlp.substr(0,20); 93 hlp = hlp.erase(0, 20); 94 if (hlp.length()) { 95 stripWhiteSpace(hlp); 96 staInfo._receiver = hlp; 97 } 91 98 } 92 99 -
trunk/BNC/src/pppCrdFile.h
r6050 r7523 18 18 std::string _name; 19 19 std::string _antenna; 20 std::string _receiver; 20 21 ColumnVector _xyz; 21 22 ColumnVector _neuAnt; -
trunk/BNC/src/pppMain.cpp
r7502 r7523 367 367 opt->_neuEccRover[2] = staInfo._neuAnt[2]; 368 368 opt->_antNameRover = staInfo._antenna; 369 opt->_recNameRover = staInfo._receiver; 369 370 break; 370 371 }
Note:
See TracChangeset
for help on using the changeset viewer.