Changeset 5980 in ntrip for trunk/BNC/src
- Timestamp:
- Aug 17, 2014, 2:32:50 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppRun.cpp
r5977 r5980 43 43 #include <iostream> 44 44 #include <iomanip> 45 #include <sstream> 45 46 #include <string.h> 46 47 #include <map> … … 241 242 delete _epoData.front(); _epoData.pop_front(); 242 243 243 emit newMessage(QByteArray(output._log.c_str()), true); 244 ostringstream log; 245 if (output._error) { 246 log << output._log; 247 } 248 else { 249 log.setf(ios::fixed); 250 log << staID.data() 251 << " X = " << setprecision(4) << output._xyzRover[0] 252 << " Y = " << setprecision(4) << output._xyzRover[1] 253 << " Z = " << setprecision(4) << output._xyzRover[2] 254 << " dN = " << setprecision(4) << output._neu[0] 255 << " dE = " << setprecision(4) << output._neu[1] 256 << " dU = " << setprecision(4) << output._neu[2]; 257 } 258 259 emit newMessage(QByteArray(log.str().c_str()), true); 244 260 } 245 261 } -
trunk/BNC/src/bncwindow.cpp
r5976 r5980 1815 1815 void bncWindow::slotWindowMessage(const QByteArray msg, bool showOnScreen) { 1816 1816 if (showOnScreen ) { 1817 _log->append(QDateTime::currentDateTime().toUTC().toString("yy-MM-dd hh:mm:ss ") + msg + '\n');1817 _log->append(QDateTime::currentDateTime().toUTC().toString("yy-MM-dd hh:mm:ss ") + msg); 1818 1818 } 1819 1819 }
Note:
See TracChangeset
for help on using the changeset viewer.