Changeset 3996 in ntrip


Ignore:
Timestamp:
Apr 22, 2012, 10:18:47 AM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/reqcedit.cpp

    r3995 r3996  
    170170    char                          sys    = rnxSat.satSys;
    171171    for (int iType = 0; iType < obsFile->nTypes(sys); iType++) {
     172      if (!_lli.contains(iType)) {
     173        _lli[iType] = 0;
     174      }
     175      if (rnxSat.lli[iType] & 1) {
     176        _lli[iType] |= 1;
     177      }
    172178    }
    173179  }
     
    178184void t_reqcEdit::applyLLI(const t_rnxObsFile* obsFile,
    179185                          t_rnxObsFile::t_rnxEpo* epo) {
    180   if (_samplingRate == 0) {
     186 
     187 if (_samplingRate == 0) {
    181188    return;
    182189  }
    183 }
     190
     191  for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) {
     192    t_rnxObsFile::t_rnxSat& rnxSat = epo->rnxSat[iSat];
     193    char                    sys    = rnxSat.satSys;
     194    for (int iType = 0; iType < obsFile->nTypes(sys); iType++) {
     195      if (_lli.contains(iType) && _lli[iType] & 1) {
     196         rnxSat.lli[iType] |= 1;
     197      }
     198    }
     199  }
     200
     201  _lli.clear();
     202}
  • trunk/BNC/rinex/reqcedit.h

    r3995 r3996  
    5858  bncTime                _begTime;
    5959  bncTime                _endTime;
     60  QMap<int, int>         _lli;
    6061};
    6162
Note: See TracChangeset for help on using the changeset viewer.