Changeset 6404 in ntrip


Ignore:
Timestamp:
Dec 22, 2014, 3:53:34 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6398 r6404  
    730730      }
    731731
     732      char frqChar1 = '1';
     733      char frqChar2 = '2';
     734      if      (prn.system() == 'E' || prn.system() == 'S') {
     735        frqChar2 = '5';
     736      }
     737      else if (prn.system() == 'C') {
     738        frqChar2 = '7';
     739      }
    732740      QString frqType1;
    733741      QString frqType2;
    734742      for (int iFrq = 0; iFrq < qcSat._qcFrq.size(); iFrq++) {
    735743        const t_qcFrq& qcFrq = qcSat._qcFrq[iFrq];
    736         if (qcFrq._rnxType2ch[0] == '1' && frqType1.isEmpty()) {
     744        if (qcFrq._rnxType2ch[0] == frqChar1 && frqType1.isEmpty()) {
    737745          frqType1 = qcFrq._rnxType2ch;
    738746        }
    739         if (qcFrq._rnxType2ch[0] == '2' && frqType2.isEmpty()) {
     747        if (qcFrq._rnxType2ch[0] == frqChar2 && frqType2.isEmpty()) {
    740748          frqType2 = qcFrq._rnxType2ch;
    741749        }
Note: See TracChangeset for help on using the changeset viewer.