Changeset 10662 in ntrip


Ignore:
Timestamp:
Jun 2, 2025, 2:05:57 PM (3 days ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r10659 r10662  
    162162    QString firstStr = hlp.at(0);
    163163
     164    // RINEX version 2
     165    if (version() < 3.0 &&  firstStr != ">") {
     166      glonass() ? sys = 'R' : sys = 'G';
     167      navType = "";
     168      prn = QString("%1").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
     169    }
    164170    // RINEX version 3
    165     if      (version() >= 3.0 &&
     171    else if (version() >= 3.0 &&
    166172             version() <  4.0 &&  firstStr != ">") {
    167173      prn = firstStr;
     
    216222      continue;
    217223    }
    218     // RINEX version 2
    219     else {
    220       if (glonass()) {
    221         sys = 'R';
    222       }
    223       else {
    224         sys = 'G';
    225       }
    226       navType = "";
    227       prn = QString("%1").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
    228     }
    229224
    230225    t_eph* eph = 0;
Note: See TracChangeset for help on using the changeset viewer.