- Timestamp:
- Apr 8, 2008, 9:24:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r774 r776 16 16 17 17 #include <iostream> 18 #include <math.h> 18 19 19 20 #include "bnseph.h" 21 #include "bnsutils.h" 20 22 21 23 using namespace std; … … 79 81 >> ep->clock_bias >> ep->clock_drift >> ep->clock_driftrate; 80 82 83 QDateTime dateTime(QDate(year,month,day), QTime(hour, minute, second), 84 Qt::UTC); 85 double toc; 86 GPSweekFromDateAndTime(dateTime, ep->GPSweek, toc); 87 ep->TOC = int(floor(toc+0.5)); 81 88 82 89 line = _socket->readLine();
Note:
See TracChangeset
for help on using the changeset viewer.