Changeset 1810 in ntrip
- Timestamp:
- Apr 25, 2009, 2:55:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.cpp
r1807 r1810 194 194 if ( !settings.value("outFile").toString().isEmpty() || 195 195 !settings.value("outPort").toString().isEmpty() ) { 196 emit( newMessage(QString("%1: Old epoch %2 thrown away") 197 .arg(staID.data()).arg(iSec).toAscii(), true) ); 196 197 QTime enomtime = QTime(0,0,0).addSecs(iSec); 198 199 emit( newMessage(QString("%1: Old epoch %2 (%3) thrown away") 200 .arg(staID.data()).arg(iSec) 201 .arg(enomtime.toString("HH:mm:ss")) 202 .toAscii(), true) ); 198 203 } 199 204 } … … 290 295 291 296 if (_samplingRate == 0 || sec % _samplingRate == 0) { 292 297 298 if (first) { 299 QTime enomtime = QTime(0,0,0).addSecs(static_cast<int>(floor(obs->_o.GPSWeeks+0.5))); 300 emit( newMessage( QString("Epoch %1 dumped").arg(enomtime.toString("HH:mm:ss")).toAscii(), true) ); 301 } 293 302 // Output into the file 294 303 // -------------------- 295 304 if (_out) { 296 305 if (first) { 297 _out->setFieldWidth(1); *_out << begEpoch << endl; ;306 _out->setFieldWidth(1); *_out << begEpoch << endl; 298 307 } 299 308 _out->setFieldWidth(0); *_out << obs->_o.StatID;
Note:
See TracChangeset
for help on using the changeset viewer.