Changeset 4396 in ntrip for trunk


Ignore:
Timestamp:
Jul 8, 2012, 9:57:59 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM/GPSDecoder.cpp

    r4395 r4396  
    109109  // ------------------------------------
    110110  if (satSys == 'G') {
    111     if      (rnxStr == "C1C") iEntry = GNSSENTRY_C1DATA;
    112     else if (rnxStr == "L1C") iEntry = GNSSENTRY_L1CDATA;
    113     else if (rnxStr == "D1C") iEntry = GNSSENTRY_D1CDATA;
    114     else if (rnxStr == "S1C") iEntry = GNSSENTRY_S1CDATA;
    115     else if (rnxStr == "C1W") iEntry = GNSSENTRY_P1DATA; 
    116     else if (rnxStr == "L1W") iEntry = GNSSENTRY_L1PDATA;
    117     else if (rnxStr == "D1W") iEntry = GNSSENTRY_D1PDATA;
    118     else if (rnxStr == "S1W") iEntry = GNSSENTRY_S1PDATA;
    119     else if (rnxStr == "C5" ) iEntry = GNSSENTRY_C5DATA; 
    120     else if (rnxStr == "L5" ) iEntry = GNSSENTRY_L5DATA; 
    121     else if (rnxStr == "D5" ) iEntry = GNSSENTRY_D5DATA; 
    122     else if (rnxStr == "S5" ) iEntry = GNSSENTRY_S5DATA; 
    123     else if (rnxStr == "C2W") iEntry = GNSSENTRY_P2DATA; 
    124     else if (rnxStr == "L2W") iEntry = GNSSENTRY_L2PDATA;
    125     else if (rnxStr == "D2W") iEntry = GNSSENTRY_D2PDATA;
    126     else if (rnxStr == "S2W") iEntry = GNSSENTRY_S2PDATA;
    127     else if (rnxStr == "C2" ) iEntry = GNSSENTRY_C2DATA; 
    128     else if (rnxStr == "L2" ) iEntry = GNSSENTRY_L2CDATA;
    129     else if (rnxStr == "D2" ) iEntry = GNSSENTRY_D2CDATA;
    130     else if (rnxStr == "S2" ) iEntry = GNSSENTRY_S2CDATA;
    131     else if (rnxStr == "C1" ) iEntry = GNSSENTRY_C1NDATA;
    132     else if (rnxStr == "L1" ) iEntry = GNSSENTRY_L1NDATA;
    133     else if (rnxStr == "D1" ) iEntry = GNSSENTRY_D1NDATA;
    134     else if (rnxStr == "S1" ) iEntry = GNSSENTRY_S1NDATA;
     111    if      (rnxStr == "C1")                      iEntry = GNSSENTRY_C1NDATA;
     112    else if (rnxStr == "C1C")                     iEntry = GNSSENTRY_C1DATA; 
     113    else if (rnxStr == "C1P" || rnxStr == "C1W")  iEntry = GNSSENTRY_P1DATA; 
     114    else if (rnxStr == "L1")                      iEntry = GNSSENTRY_L1NDATA;
     115    else if (rnxStr == "L1C")                     iEntry = GNSSENTRY_L1CDATA;
     116    else if (rnxStr == "L1P" || rnxStr == "L1W")  iEntry = GNSSENTRY_L1PDATA;
     117    else if (rnxStr == "D1")                      iEntry = GNSSENTRY_D1NDATA;
     118    else if (rnxStr == "D1C")                     iEntry = GNSSENTRY_D1CDATA;
     119    else if (rnxStr == "D1P" || rnxStr == "D1W")  iEntry = GNSSENTRY_D1PDATA;
     120    else if (rnxStr == "S1")                      iEntry = GNSSENTRY_S1NDATA;
     121    else if (rnxStr == "S1C")                     iEntry = GNSSENTRY_S1CDATA;
     122    else if (rnxStr == "S1P" || rnxStr == "S1W")  iEntry = GNSSENTRY_S1PDATA;
     123
     124    else if (rnxStr == "C2"  || rnxStr == "C2X")  iEntry = GNSSENTRY_C2DATA; 
     125    else if (rnxStr == "C2P" || rnxStr == "C2W")  iEntry = GNSSENTRY_P2DATA; 
     126    else if (rnxStr == "L2"  || rnxStr == "L2X")  iEntry = GNSSENTRY_L2CDATA;
     127    else if (rnxStr == "L2P" || rnxStr == "L2W")  iEntry = GNSSENTRY_L2PDATA;
     128    else if (rnxStr == "D2"  || rnxStr == "D2X")  iEntry = GNSSENTRY_D2CDATA;
     129    else if (rnxStr == "D2P" || rnxStr == "D2W")  iEntry = GNSSENTRY_D2PDATA;
     130    else if (rnxStr == "S2"  || rnxStr == "S2X")  iEntry = GNSSENTRY_S2CDATA;
     131    else if (rnxStr == "S2P" || rnxStr == "S2W")  iEntry = GNSSENTRY_S2PDATA;
     132
     133    else if (rnxStr == "C5")                      iEntry = GNSSENTRY_C5DATA; 
     134    else if (rnxStr == "D5")                      iEntry = GNSSENTRY_D5DATA; 
     135    else if (rnxStr == "L5")                      iEntry = GNSSENTRY_L5DATA; 
     136    else if (rnxStr == "S5")                      iEntry = GNSSENTRY_S5DATA; 
    135137  }
    136138
     
    150152  }
    151153}
    152  
     154
Note: See TracChangeset for help on using the changeset viewer.