Changeset 223 in ntrip for trunk/BNC/bncrinex.cpp
- Timestamp:
- Oct 7, 2006, 12:08:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncrinex.cpp
r222 r223 29 29 #include "bncutils.h" 30 30 #include "bncconst.h" 31 #include "RTCM3/rtcm3torinex.h" 31 32 32 33 using namespace std; … … 321 322 iSat++; 322 323 Observation* ob = it.next(); 323 _out << " " << setw(2) << int(ob->SVPRN); 324 int prn = ob->SVPRN; 325 if (prn <= PRN_GPS_END) { 326 _out << "G" << setw(2) << prn; 327 } 328 else if (prn >= PRN_GLONASS_START && prn <= PRN_GLONASS_END) { 329 _out << "R" << setw(2) << prn - PRN_GLONASS_START + 1; 330 } 331 else { 332 _out << setw(3) << prn; 333 } 324 334 if (iSat == 12 && it.hasNext()) { 325 335 _out << endl << " ";
Note:
See TracChangeset
for help on using the changeset viewer.