Changeset 5933 in ntrip


Ignore:
Timestamp:
Aug 15, 2014, 10:51:58 AM (8 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppRun.cpp

    r5931 r5933  
    176176      map<string, t_frqObs*> frqObsMap;
    177177      for (unsigned iEntry = 0; iEntry < GNSSENTRY_NUMBER; iEntry++) {
    178         string hlp(oldObs.rnxStr(iEntry).toAscii().data());
    179 
    180 //        if (hlp.length() == 2) {
    181 //          if      (hlp == "C1") hlp = "C1C";
    182 //          else if (hlp == "P1") hlp = "C1P";
    183 //          else if (hlp == "C2") hlp = "C2C";
    184 //          else if (hlp == "P2") hlp = "C2P";
    185 //          else if (hlp == "L1") hlp = "L1C";
    186 //          else if (hlp == "L2") hlp = "L2C";
    187 //        }
    188 
    189         if (hlp.length() == 3) {
     178        string hlp(t_rnxObsFile::type2to3(oldObs.satSys, oldObs.rnxStr(iEntry)).toAscii().data());
     179
     180        if (hlp.length() >= 2 && oldObs._measdata[iEntry] != 0.0) {
    190181          char   obsType    = hlp[0];
    191182          string rnxType2ch = hlp.substr(1);
Note: See TracChangeset for help on using the changeset viewer.