Ignore:
Timestamp:
Jul 20, 2020, 1:03:47 PM (4 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r8980 r8982  
    263263    QString rtnetStreamBuffer = _rtnetStreamBuffer.mid(1);
    264264    int nextEpoch = rtnetStreamBuffer.indexOf('*');
    265     if (nextEpoch != -1 && nextEpoch < iEpoEnd) {
     265    if      (nextEpoch != -1 && nextEpoch < iEpoEnd) {
    266266      _rtnetStreamBuffer = _rtnetStreamBuffer.mid(nextEpoch);
    267267    }
     
    274274      QString::SkipEmptyParts);
    275275  _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoEnd + 3);
    276 
    277276
    278277  if (lines.size() < 2) {
     
    546545      }
    547546
    548 
    549547      struct ClockOrbit::SatData* sd = 0;
    550548      if (prn.system() == 'G') {
     
    564562        sd = co.Sat + CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS
    565563           + CLOCKORBIT_NUMGALILEO
    566                    + co.NumberOfSat[CLOCKORBIT_SATQZSS];
     564           + co.NumberOfSat[CLOCKORBIT_SATQZSS];
    567565        ++co.NumberOfSat[CLOCKORBIT_SATQZSS];
    568566      }
     
    606604        else if (prn.system() == 'E') {
    607605          biasSat = bias.Sat + CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS
    608                    + bias.NumberOfSat[CLOCKORBIT_SATGALILEO];
     606                  + bias.NumberOfSat[CLOCKORBIT_SATGALILEO];
    609607          ++bias.NumberOfSat[CLOCKORBIT_SATGALILEO];
    610608        }
     
    612610          biasSat = bias.Sat + CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS
    613611                  + CLOCKORBIT_NUMGALILEO
    614                               + bias.NumberOfSat[CLOCKORBIT_SATQZSS];
     612                  + bias.NumberOfSat[CLOCKORBIT_SATQZSS];
    615613          ++bias.NumberOfSat[CLOCKORBIT_SATQZSS];
     614        }
     615        else if (prn.system() == 'S') {
     616          biasSat = bias.Sat + CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS
     617                  + CLOCKORBIT_NUMGALILEO + CLOCKORBIT_NUMQZSS
     618                  + bias.NumberOfSat[CLOCKORBIT_SATSBAS];
     619          ++bias.NumberOfSat[CLOCKORBIT_SATSBAS];
    616620        }
    617621        else if (prn.system() == 'C') {
    618622          biasSat = bias.Sat + CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS
    619                    + CLOCKORBIT_NUMGALILEO + CLOCKORBIT_NUMQZSS
    620                    + bias.NumberOfSat[CLOCKORBIT_SATBDS];
     623                  + CLOCKORBIT_NUMGALILEO + CLOCKORBIT_NUMQZSS
     624                  + CLOCKORBIT_NUMSBAS
     625                  + bias.NumberOfSat[CLOCKORBIT_SATBDS];
    621626          ++bias.NumberOfSat[CLOCKORBIT_SATBDS];
    622         }
    623         else if (prn.system() == 'S') {
    624           biasSat = bias.Sat + CLOCKORBIT_NUMGPS + CLOCKORBIT_NUMGLONASS
    625                   + CLOCKORBIT_NUMGALILEO + CLOCKORBIT_NUMQZSS + CLOCKORBIT_NUMBDS
    626                   + bias.NumberOfSat[CLOCKORBIT_SATSBAS];
    627           ++bias.NumberOfSat[CLOCKORBIT_SATSBAS];
    628627        }
    629628      }
Note: See TracChangeset for help on using the changeset viewer.