Changeset 8204 in ntrip for trunk/BNC/src/combination
- Timestamp:
- Dec 11, 2017, 3:00:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r8175 r8204 366 366 // -------------------- 367 367 if (_resTime.valid() && clkCorr._time <= _resTime) { 368 emit newMessage("bncComb: old correction: " + acName.to Ascii() + " " + prn.mid(0,3).toAscii(), true);368 emit newMessage("bncComb: old correction: " + acName.toLatin1() + " " + prn.mid(0,3).toLatin1(), true); 369 369 continue; 370 370 } … … 401 401 t_eph* ephPrev = _ephUser.ephPrev(prn); 402 402 if (ephLast == 0) { 403 emit newMessage("bncComb: eph not found " + prn.mid(0,3).to Ascii(), true);403 emit newMessage("bncComb: eph not found " + prn.mid(0,3).toLatin1(), true); 404 404 delete newCorr; 405 405 continue; … … 414 414 } 415 415 else { 416 emit newMessage("bncComb: eph not found " + prn.mid(0,3).to Ascii() +417 QString(" %1").arg(newCorr->_iod).to Ascii(), true);416 emit newMessage("bncComb: eph not found " + prn.mid(0,3).toLatin1() + 417 QString(" %1").arg(newCorr->_iod).toLatin1(), true); 418 418 delete newCorr; 419 419 continue; … … 469 469 + QString(" %1 -> %2 %3").arg(corr->_iod,3).arg(lastEph->IOD(),3).arg(dC*t_CST::c, 8, 'f', 4); 470 470 471 emit newMessage(msg.to Ascii(), false);471 emit newMessage(msg.toLatin1(), false); 472 472 473 473 corr->_iod = lastEph->IOD(); … … 507 507 } 508 508 } 509 out << AC->name.to Ascii().data() << ": " << AC->numObs << endl;509 out << AC->name.toLatin1().data() << ": " << AC->numObs << endl; 510 510 } 511 511 … … 531 531 if (AC->numObs > 0) { 532 532 out << "Switching Master AC " 533 << _masterOrbitAC.to Ascii().data() << " --> "534 << AC->name.to Ascii().data() << " "533 << _masterOrbitAC.toLatin1().data() << " --> " 534 << AC->name.toLatin1().data() << " " 535 535 << _resTime.datestr().c_str() << " " 536 536 << _resTime.timestr().c_str() << endl; … … 752 752 if (_antex->satCoMcorrection(corr->_prn, Mjd, xc.Rows(1,3), dx) != success) { 753 753 dx = 0; 754 _log += "antenna not found " + corr->_prn.mid(0,3).to Ascii() + '\n';754 _log += "antenna not found " + corr->_prn.mid(0,3).toLatin1() + '\n'; 755 755 } 756 756 } … … 777 777 " %10.5f INTERNAL", 778 778 messageType, updateInt, _resTime.gpsw(), _resTime.gpssec(), 779 corr->_prn.mid(0,3).to Ascii().data(),779 corr->_prn.mid(0,3).toLatin1().data(), 780 780 corr->_iod, 781 781 corr->_dClkResult * t_CST::c, … … 800 800 801 801 vector<string> errmsg; 802 _rtnetDecoder->Decode(outLines.to Ascii().data(), outLines.length(), errmsg);802 _rtnetDecoder->Decode(outLines.toLatin1().data(), outLines.length(), errmsg); 803 803 804 804 // Send new Corrections to PPP etc. … … 1169 1169 << _resTime.timestr().c_str() << " " 1170 1170 << "Orbit Outlier: " 1171 << corr->_acName.to Ascii().data() << " "1172 << prn.mid(0,3).to Ascii().data() << " "1171 << corr->_acName.toLatin1().data() << " " 1172 << prn.mid(0,3).toLatin1().data() << " " 1173 1173 << corr->_iod << " " 1174 1174 << norm << endl; … … 1203 1203 if (AC->mountPoint == mountPoint) { 1204 1204 acName = AC->name; 1205 out << "Provider ID changed: AC " << AC->name.to Ascii().data() << " "1205 out << "Provider ID changed: AC " << AC->name.toLatin1().data() << " " 1206 1206 << _resTime.datestr().c_str() << " " 1207 1207 << _resTime.timestr().c_str() << endl;
Note:
See TracChangeset
for help on using the changeset viewer.