- Timestamp:
- Jul 2, 2015, 5:43:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r6970 r7008 116 116 } 117 117 else if (type == offACSat) { 118 outStr = "Sat Offset " + AC + " " + prn ;118 outStr = "Sat Offset " + AC + " " + prn.mid(0,3); 119 119 } 120 120 else if (type == clkSat) { 121 outStr = "Clk Corr " + prn ;121 outStr = "Clk Corr " + prn.mid(0,3); 122 122 } 123 123 … … 196 196 _params.push_back(new cmbParam(cmbParam::offACgps, ++nextPar, AC->name, "")); 197 197 for (unsigned iGps = 1; iGps <= t_prn::MAXPRN_GPS; iGps++) { 198 QString prn = QString("G%1 ").arg(iGps, 2, 10, QChar('0'));198 QString prn = QString("G%1_0").arg(iGps, 2, 10, QChar('0')); 199 199 _params.push_back(new cmbParam(cmbParam::offACSat, ++nextPar, 200 200 AC->name, prn)); … … 203 203 _params.push_back(new cmbParam(cmbParam::offACglo, ++nextPar, AC->name, "")); 204 204 for (unsigned iGlo = 1; iGlo <= t_prn::MAXPRN_GLONASS; iGlo++) { 205 QString prn = QString("R%1 ").arg(iGlo, 2, 10, QChar('0'));205 QString prn = QString("R%1_0").arg(iGlo, 2, 10, QChar('0')); 206 206 _params.push_back(new cmbParam(cmbParam::offACSat, ++nextPar, 207 207 AC->name, prn)); … … 210 210 } 211 211 for (unsigned iGps = 1; iGps <= t_prn::MAXPRN_GPS; iGps++) { 212 QString prn = QString("G%1 ").arg(iGps, 2, 10, QChar('0'));212 QString prn = QString("G%1_0").arg(iGps, 2, 10, QChar('0')); 213 213 _params.push_back(new cmbParam(cmbParam::clkSat, ++nextPar, "", prn)); 214 214 } 215 215 if (_useGlonass) { 216 216 for (unsigned iGlo = 1; iGlo <= t_prn::MAXPRN_GLONASS; iGlo++) { 217 QString prn = QString("R%1 ").arg(iGlo, 2, 10, QChar('0'));217 QString prn = QString("R%1_0").arg(iGlo, 2, 10, QChar('0')); 218 218 _params.push_back(new cmbParam(cmbParam::clkSat, ++nextPar, "", prn)); 219 219 } … … 278 278 t_orbCorr& orbCorr = orbCorrections[ii]; 279 279 QString staID(orbCorr._staID.c_str()); 280 QString prn(orbCorr._prn.to String().c_str());280 QString prn(orbCorr._prn.toInternalString().c_str()); 281 281 282 282 // Find/Check the AC Name … … 350 350 // -------------------- 351 351 if (_resTime.valid() && clkCorr._time <= _resTime) { 352 emit newMessage("bncComb: old correction: " + acName.toAscii() + " " + prn. toAscii(), true);352 emit newMessage("bncComb: old correction: " + acName.toAscii() + " " + prn.mid(0,3).toAscii(), true); 353 353 continue; 354 354 }
Note:
See TracChangeset
for help on using the changeset viewer.