Changeset 974 in ntrip for trunk/BNC/RTCM3/RTCM3coDecoder.cpp
- Timestamp:
- Jul 26, 2008, 10:10:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3coDecoder.cpp
r971 r974 68 68 _out = 0; 69 69 70 connect(this, SIGNAL(newCorrLine(QString, QString )),71 (bncApp*) qApp, SLOT(slotNewCorrLine(QString, QString )));70 connect(this, SIGNAL(newCorrLine(QString, QString, long)), 71 (bncApp*) qApp, SLOT(slotNewCorrLine(QString, QString, long))); 72 72 } 73 73 … … 175 175 _co.Sat[ii].Orbit.DeltaAlongTrack, 176 176 _co.Sat[ii].Orbit.DeltaCrossTrack); 177 printLine(line); 177 long coTime = GPSweek * 7*24*3600 + long(floor(GPSweeks+0.5)); 178 printLine(line, coTime); 178 179 } 179 180 for(int ii = CLOCKORBIT_NUMGPS; … … 186 187 _co.Sat[ii].Orbit.DeltaAlongTrack, 187 188 _co.Sat[ii].Orbit.DeltaCrossTrack); 188 printLine(line); 189 long coTime = GPSweek * 7*24*3600 + long(floor(GPSweeks+0.5)); 190 printLine(line, coTime); 189 191 } 190 192 _buffer = _buffer.substr(bytesused); … … 202 204 // 203 205 //////////////////////////////////////////////////////////////////////////// 204 void RTCM3coDecoder::printLine(const QString& line ) {206 void RTCM3coDecoder::printLine(const QString& line, long coTime) { 205 207 if (_out) { 206 208 *_out << line.toAscii().data() << endl; … … 208 210 } 209 211 210 emit newCorrLine(line, _staID );211 } 212 emit newCorrLine(line, _staID, coTime); 213 }
Note:
See TracChangeset
for help on using the changeset viewer.