Changeset 6377 in ntrip


Ignore:
Timestamp:
Dec 4, 2014, 3:52:53 PM (9 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.cpp

    r6374 r6377  
    573573      QString prnStr;
    574574      in >> prnStr >> year >> month >> day >> hour >> min >> sec;
    575       if (prnStr.at(0) == 'G') {
     575      if      (prnStr.at(0) == 'G') {
    576576        _prn.set('G', prnStr.mid(1).toInt());
     577      }
     578      else if (prnStr.at(0) == 'J') {
     579        _prn.set('J', prnStr.mid(1).toInt());
    577580      }
    578581      else {
  • trunk/BNC/src/rinex/reqcedit.cpp

    r6223 r6377  
    515515        ephs.append(new t_ephGal(*dynamic_cast<t_ephGal*>(eph)));
    516516      }
    517     }
    518   }
    519 }
     517      else if (eph->type() == t_eph::QZSS) {
     518        ephs.append(new t_ephGPS(*dynamic_cast<t_ephGPS*>(eph)));
     519      }
     520    }
     521  }
     522}
  • trunk/BNC/src/rinex/rnxnavfile.cpp

    r5776 r6377  
    181181      }
    182182      eph = new t_ephGal(version(), lines);
     183    }
     184    else if (prn[0] == 'J') {
     185      for (int ii = 1; ii < 8; ii++) {
     186        lines << stream->readLine();
     187      }
     188      eph = new t_ephGPS(version(), lines);
    183189    }
    184190    if (eph && eph->ok()) {
Note: See TracChangeset for help on using the changeset viewer.