Changeset 6809 in ntrip for trunk/BNC/src/ephemeris.cpp
- Timestamp:
- Apr 30, 2015, 10:37:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/ephemeris.cpp
r6803 r6809 23 23 _orbCorr = 0; 24 24 _clkCorr = 0; 25 _flags = 0;26 25 } 27 26 … … 798 797 ////////////////////////////////////////////////////////////////////////////// 799 798 t_ephGal::t_ephGal(float rnxVersion, const QStringList& lines) { 800 799 int year, month, day, hour, min; 800 double sec; 801 QString prnStr; 801 802 const int nLines = 8; 802 803 803 if (lines.size() != nLines) { 804 804 _checkState = bad; 805 805 return; 806 806 } 807 _flags = 0; 807 808 808 809 // RINEX Format … … 826 827 QTextStream in(line.left(pos[1]).toAscii()); 827 828 828 int year, month, day, hour, min;829 double sec;830 831 QString prnStr;832 829 in >> prnStr >> year >> month >> day >> hour >> min >> sec; 833 if (prnStr.at(0) == 'E') {834 _prn.set('E', prnStr.mid(1).toInt());835 }836 else {837 _prn.set('E', prnStr.toInt());838 }839 840 830 if (year < 80) { 841 831 year += 2000; … … 936 926 // Bit 7-8 937 927 _E5bHS = double((int(SVhealth) >> 7) & 0x3); 928 929 if (prnStr.at(0) == 'E') { 930 _prn.set('E', prnStr.mid(1,2).toInt(), _flags); 931 } 932 else { 933 _prn.set('E', prnStr.mid(1,2).toInt(), _flags); 934 } 938 935 } 939 936 } … … 954 951 _receptDateTime = currentDateAndTimeGPS(); 955 952 956 _prn.set('E', ee->satellite); 953 _flags = ee->flags; 954 _prn.set('E', ee->satellite, _flags); 957 955 958 956 _TOC.set(ee->Week, ee->TOC); … … 994 992 995 993 _TOT = 0.9999e9; 996 997 _flags = ee->flags;998 994 } 999 995
Note:
See TracChangeset
for help on using the changeset viewer.