Changeset 523 in ntrip
- Timestamp:
- Oct 18, 2007, 3:11:12 PM (17 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/RTCM3/rtcm3torinex.c ¶
r512 r523 1 1 /* 2 2 Converter for RTCM3 data to RINEX. 3 $Id: rtcm3torinex.c,v 1. 242007/10/08 13:29:45 stoeckerExp $3 $Id: rtcm3torinex.c,v 1.5 2007/10/17 06:12:00 mervart Exp $ 4 4 Copyright (C) 2005-2006 by Dirk Stoecker <stoecker@alberding.eu> 5 5 … … 51 51 52 52 /* CVS revision and version */ 53 static char revisionstr[] = "$Revision: 1. 24$";53 static char revisionstr[] = "$Revision: 1.5 $"; 54 54 55 55 #ifndef COMPILEDATE … … 236 236 } 237 237 238 staticvoid updatetime(int *week, int *tow, int tk, int fixnumleap)238 void updatetime(int *week, int *tow, int tk, int fixnumleap) 239 239 { 240 240 int y,m,d,k,l, nul; … … 776 776 }; 777 777 778 staticvoid converttime(struct converttimeinfo *c, int week, int tow)778 void converttime(struct converttimeinfo *c, int week, int tow) 779 779 { 780 780 int i, k, doy, j; /* temporary variables */ … … 1534 1534 1535 1535 #ifndef NO_RTCM3_MAIN 1536 static char datestr[] = "$Date: 2007/10/ 08 13:29:45$";1536 static char datestr[] = "$Date: 2007/10/17 06:12:00 $"; 1537 1537 1538 1538 /* The string, which is send as agent in HTTP request */ -
TabularUnified trunk/BNC/bncapp.cpp ¶
r522 r523 48 48 49 49 using namespace std; 50 51 struct converttimeinfo { 52 int second; /* seconds of GPS time [0..59] */ 53 int minute; /* minutes of GPS time [0..59] */ 54 int hour; /* hour of GPS time [0..24] */ 55 int day; /* day of GPS time [1..28..30(31)*/ 56 int month; /* month of GPS time [1..12]*/ 57 int year; /* year of GPS time [1980..] */ 58 }; 59 60 extern "C" { 61 void converttime(struct converttimeinfo *c, int week, int tow); 62 void updatetime(int *week, int *tow, int tk, int fixnumleap); 63 } 64 50 65 51 66 // Constructor … … 256 271 //////////////////////////////////////////////////////////////////////////// 257 272 void bncApp::printGlonassEph(glonassephemeris* ep) { 273 258 274 if (_ephStream) { 259 *_ephStream << "GLONASS: " << ep->almanac_number << endl; 275 276 int w = ep->GPSWeek, tow = ep->GPSTOW, i; 277 struct converttimeinfo cti; 278 279 updatetime(&w, &tow, ep->tb*1000, 1); 280 converttime(&cti, w, tow); 281 260 282 _ephStream->flush(); 261 283 }
Note:
See TracChangeset
for help on using the changeset viewer.