Changeset 4550 in ntrip
- Timestamp:
- Aug 22, 2012, 10:18:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncfigureppp.cpp
r4539 r4550 81 81 _xyzRef[2] = 0.0; 82 82 } 83 84 if (settings.value("pppRefCrdX").toString() != "" && 85 settings.value("pppRefCrdY").toString() != "" && 86 settings.value("pppRefCrdZ").toString() != "" && 87 settings.value("pppQuickStart").toString() != "" && 88 settings.value("pppAudioResponse").toString() != "" ) { 89 _pppAudioResponse = settings.value("pppAudioResponse").toDouble(); 90 } 91 else { 92 _pppAudioResponse = 1e7; 93 } 94 95 _pppMount = settings.value("pppMount").toString(); 83 96 84 97 for (int ii = 0; ii < _pos.size(); ++ii) { … … 197 210 double t2 = _tMin + (_pos[ii]->time - _pos[0]->time); 198 211 199 // Audio alarm200 // ----------- 201 //if ( ii == _pos.size() -1) {202 // if (fabs(neu[ii-1][0]) > 0.10 || fabs(neu[ii-1][1]) > 0.10) {203 //QApplication::beep();204 //}205 //}212 // Audio response 213 // -------------- 214 if ( ii == _pos.size() -1) { 215 if (fabs(neu[ii-1][0]) > _pppAudioResponse || fabs(neu[ii-1][1]) > _pppAudioResponse) { 216 QApplication::beep(); 217 } 218 } 206 219 207 220 // dots … … 284 297 // ---------- 285 298 _startTime.civil_time(hour, minute, second); 286 QString startStr = QString(" Start %1:%2:%3")299 QString startStr = QString("%4 Start %1:%2:%3") 287 300 .arg(hour, 2, 10, QChar('0')) 288 301 .arg(minute, 2, 10, QChar('0')) 289 .arg(int(second), 2, 10, QChar('0')); 302 .arg(int(second), 2, 10, QChar('0')) 303 .arg(_pppMount); 290 304 painter.setPen(QColor(Qt::black)); 291 305 painter.drawText(0, ww, pntP.x() + 16*ww, pntP.x(),
Note:
See TracChangeset
for help on using the changeset viewer.