Changeset 4441 in ntrip


Ignore:
Timestamp:
Jul 24, 2012, 6:18:34 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4440 r4441  
    133133//////////////////////////////////////////////////////////////////////////////
    134134QString t_obs::rnxStr(int iEntry) {
    135  
     135  QString str(3,' ');
     136  switch(iEntry & 3) {
     137    case GNSSENTRY_CODE:    str[0] = 'C'; break;
     138    case GNSSENTRY_PHASE:   str[0] = 'L'; break;
     139    case GNSSENTRY_DOPPLER: str[0] = 'D'; break;
     140    case GNSSENTRY_SNR:     str[0] = 'S'; break;
     141  }
     142  str[1] = _codetype[iEntry][0];
     143  str[2] = _codetype[iEntry][1];
     144  return str;
    136145}
Note: See TracChangeset for help on using the changeset viewer.