Changeset 3331 in ntrip for trunk/BNC/bncmodel.cpp


Ignore:
Timestamp:
Jul 19, 2011, 2:00:58 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3330 r3331  
    10241024          + QByteArray::number(maxRes, 'f', 3) + "\n";
    10251025    _QQ = QQsav;
     1026    QVectorIterator<bncParam*> itPar(_params);
     1027    while (itPar.hasNext()) {
     1028      bncParam* par = itPar.next();
     1029      if (par->type == bncParam::AMB_L3 && par->prn == prnRemoved) {
     1030        par->numEpo = 0;
     1031      }
     1032    }
    10261033  }
    10271034
     
    13371344          return failure;
    13381345        }
     1346        unsigned numSatNoSlip = 0;
     1347        QVectorIterator<bncParam*> itPar(_params);
     1348        while (itPar.hasNext()) {
     1349          bncParam* par = itPar.next();
     1350          if (par->type == bncParam::AMB_L3 && par->prn[0] == 'G') {
     1351            if (par->numEpo >= 1) {
     1352              ++numSatNoSlip;
     1353            }
     1354          }
     1355        }
     1356        if (numSatNoSlip > 0 && numSatNoSlip < MINOBS) {
     1357          restoreState();
     1358          _log += "bncModel::update_p: not enough GPS satellites without cycle-slips\n";
     1359          emit newMessage(_log, false);
     1360          return failure;
     1361        }
    13391362      }
    13401363     
Note: See TracChangeset for help on using the changeset viewer.