Changeset 3703 in ntrip
- Timestamp:
- Feb 16, 2012, 2:04:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rnxobsfile.cpp
r3698 r3703 150 150 } 151 151 152 if (line.indexOf("END OF FILE")) { 153 break; 154 } 155 156 int flag; 157 readInt(line, 31, 1, flag); 158 if (flag > 1) { // TODO 159 break; 160 } 161 152 162 QTextStream in(line.mid(1).toAscii()); 153 163 154 164 // Epoch Time 155 165 // ---------- 156 int year, month, day, hour, min , flag;166 int year, month, day, hour, min; 157 167 double sec; 158 in >> year >> month >> day >> hour >> min >> sec >> flag;168 in >> year >> month >> day >> hour >> min >> sec; 159 169 _currEpo.tt.set(year, month, day, hour, min, sec); 160 170 … … 194 204 } 195 205 206 if (line.indexOf("END OF FILE")) { 207 break; 208 } 209 210 int flag; 211 readInt(line, 28, 1, flag); 212 if (flag > 1) { // TODO 213 break; 214 } 215 196 216 QTextStream in(line.toAscii()); 197 217 198 218 // Epoch Time 199 219 // ---------- 200 int year, month, day, hour, min , flag;220 int year, month, day, hour, min; 201 221 double sec; 202 in >> year >> month >> day >> hour >> min >> sec >> flag;222 in >> year >> month >> day >> hour >> min >> sec; 203 223 if (year < 80) { 204 224 year += 2000;
Note:
See TracChangeset
for help on using the changeset viewer.