Changeset 7638 in ntrip for trunk/BNC


Ignore:
Timestamp:
Dec 16, 2015, 4:19:45 PM (8 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r7208 r7638  
    3535 * Created:    24-Jan-2012
    3636 *
    37  * Changes:   
     37 * Changes:
    3838 *
    3939 * -----------------------------------------------------------------------*/
     
    130130  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    131131    delete _ephs[ii];
    132   } 
     132  }
    133133}
    134134
     
    156156    else {
    157157      if (glonass()) {
    158         prn = QString("R%1").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
     158        prn = QString("R%1_0").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
    159159      }
    160160      else {
    161         prn = QString("G%1").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
    162       }
    163     }
     161        prn = QString("G%1_0").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
     162      }
     163    }
     164
    164165    t_eph* eph = 0;
    165166    QStringList lines; lines << line;
     
    213214// Read Next Ephemeris
    214215////////////////////////////////////////////////////////////////////////////
    215 t_eph* t_rnxNavFile::getNextEph(const bncTime& tt, 
     216t_eph* t_rnxNavFile::getNextEph(const bncTime& tt,
    216217                                const QMap<QString, unsigned int>* corrIODs) {
    217218
     
    243244    while (it != _ephs.end()) {
    244245      t_eph* eph = *it;
    245 
    246246      double dt = eph->TOC() - tt;
    247 
    248247      if (dt < 2*3600.0) {
    249248        it = _ephs.erase(it);
     
    257256}
    258257
    259 // 
     258//
    260259////////////////////////////////////////////////////////////////////////////
    261260void t_rnxNavFile::writeHeader(const QMap<QString, QString>* txtMap) {
     
    278277
    279278  if (version() < 3.0) {
    280     const QString fmt = glonass() ? "%1           GLONASS navigation data" 
     279    const QString fmt = glonass() ? "%1           GLONASS navigation data"
    281280                                  : "%1           Navigation data";
    282281    *_stream << QString(fmt)
     
    311310}
    312311
    313 // 
     312//
    314313////////////////////////////////////////////////////////////////////////////
    315314void t_rnxNavFile::writeEph(const t_eph* eph) {
Note: See TracChangeset for help on using the changeset viewer.