Changeset 3762 in ntrip


Ignore:
Timestamp:
Apr 1, 2012, 5:44:50 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/bncpostprocess.cpp

    r3757 r3762  
    178178        }
    179179      }
     180
     181      // Get Glonass Channel Number
     182      // -------------------------
     183      if (obs.satSys == 'R') {
     184        QString prn = QString("%1%2").arg(obs.satSys)
     185                                     .arg(obs.satNum, 2, 10, QChar('0'));
     186        const bncEphUser::t_ephPair* ephPair = _pppClient->ephPair(prn);
     187        if (ephPair && ephPair->last) {
     188          obs.slotNum = ((t_ephGlo*) ephPair->last)->slotNum();
     189        }
     190      }
     191
     192      // Put the new Observation to the Client
     193      // -------------------------------------
    180194      _pppClient->putNewObs(obs);
    181195    }
Note: See TracChangeset for help on using the changeset viewer.