Changeset 4028 in ntrip
- Timestamp:
- Apr 22, 2012, 8:57:51 PM (13 years ago)
- Location:
- trunk/BNC/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/ephemeris.cpp
r4027 r4028 993 993 // 994 994 ////////////////////////////////////////////////////////////////////////////// 995 QString t_eph::rinexDateStr(double version ) const {995 QString t_eph::rinexDateStr(double version, double gps_utc) const { 996 996 997 997 QString datStr; … … 999 999 unsigned year, month, day, hour, min; 1000 1000 double sec; 1001 _TOC.civil_date(year, month, day); 1002 _TOC.civil_time(hour, min, sec); 1001 1002 bncTime hlp = _TOC - gps_utc; 1003 hlp.civil_date(year, month, day); 1004 hlp.civil_time(hour, min, sec); 1003 1005 1004 1006 QTextStream out(&datStr); … … 1031 1033 QString t_ephGPS::toString(double version) const { 1032 1034 1033 QString rnxStr = rinexDateStr(version );1035 QString rnxStr = rinexDateStr(version, 0.0); 1034 1036 1035 1037 QTextStream out(&rnxStr); … … 1091 1093 QString t_ephGlo::toString(double version) const { 1092 1094 1093 QString rnxStr = rinexDateStr(version );1095 QString rnxStr = rinexDateStr(version, _gps_utc); 1094 1096 1095 1097 QTextStream out(&rnxStr); … … 1127 1129 QString t_ephGal::toString(double version) const { 1128 1130 1129 QString rnxStr = rinexDateStr(version );1131 QString rnxStr = rinexDateStr(version, 0.0); 1130 1132 1131 1133 QTextStream out(&rnxStr); -
trunk/BNC/RTCM3/ephemeris.h
r4023 r4028 54 54 55 55 protected: 56 QString rinexDateStr(double version ) const;56 QString rinexDateStr(double version, double gps_utc) const; 57 57 58 58 QString _prn;
Note:
See TracChangeset
for help on using the changeset viewer.