Changeset 6121 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 11, 2014, 2:22:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcedit.cpp
r6118 r6121 331 331 for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) { 332 332 const t_rnxObsFile::t_rnxSat& rnxSat = epo->rnxSat[iSat]; 333 char sys = rnxSat.satSys;334 QString prn = QString("%1%2").arg(sys).arg(rnxSat.satNum,2,10,QChar('0'));333 char sys = rnxSat.prn.system(); 334 QString prn(rnxSat.prn.toString().c_str()); 335 335 336 336 for (int iType = 0; iType < obsFile->nTypes(sys); iType++) { 337 QString type = obsFile->obsType(sys, iType); 337 338 if (!_lli[prn].contains(iType)) { 338 339 _lli[prn][iType] = 0; 339 340 } 340 if (rnxSat. lli[iType]& 1) {341 if (rnxSat.obs.contains(type) && rnxSat.obs[type].lli & 1) { 341 342 _lli[prn][iType] |= 1; 342 343 } … … 356 357 for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) { 357 358 t_rnxObsFile::t_rnxSat& rnxSat = epo->rnxSat[iSat]; 358 char sys = rnxSat.satSys;359 QString prn = QString("%1%2").arg(sys).arg(rnxSat.satNum,2,10,QChar('0'));359 char sys = rnxSat.prn.system(); 360 QString prn(rnxSat.prn.toString().c_str()); 360 361 361 362 for (int iType = 0; iType < obsFile->nTypes(sys); iType++) { 363 QString type = obsFile->obsType(sys, iType); 362 364 if (_lli[prn].contains(iType) && _lli[prn][iType] & 1) { 363 rnxSat.lli[iType] |= 1; 365 if (rnxSat.obs.contains(type)) { 366 rnxSat.obs[type].lli |= 1; 367 } 364 368 } 365 369 }
Note:
See TracChangeset
for help on using the changeset viewer.