Changeset 4695 in ntrip for trunk/BNC


Ignore:
Timestamp:
Sep 9, 2012, 5:29:10 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4694 r4695  
    254254            _obsStat._prnStat[prn]._numObs += 1;
    255255          }
     256          if (newObs->_slipL1 && newObs->_slipL2) {
     257            _obsStat._prnStat[prn]._numSlips += 1;
     258          }
    256259        }
    257260      }
     
    717720        << "# Sat.:      " << _obsStat._prnStat.size() << endl;
    718721
    719   int numObs = 0;
     722  int numObs   = 0;
     723  int numSlips = 0;
    720724  QMapIterator<QString, t_prnStat> it(_obsStat._prnStat);
    721725  while (it.hasNext()) {
    722726    it.next();
    723727    const t_prnStat& prnStat = it.value();
    724     numObs += prnStat._numObs;
    725   }
    726   *_log << "# Obs.:      " << numObs << endl;
     728    numObs   += prnStat._numObs;
     729    numSlips += prnStat._numSlips;
     730  }
     731  *_log << "# Obs.:      " << numObs   << endl
     732        << "# Slips:     " << numSlips << endl;
    727733
    728734  _log->flush();
Note: See TracChangeset for help on using the changeset viewer.