Changeset 8204 in ntrip for trunk/BNC/src/latencychecker.cpp
- Timestamp:
- Dec 11, 2017, 3:00:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/latencychecker.cpp
r8156 r8204 178 178 _begTimeOut = _endDateTimeOut.toUTC().time().toString("hh:mm:ss"); 179 179 emit(newMessage((_staID + ": Failure threshold exceeded, outage since " 180 + _begDateOut + " " + _begTimeOut + " UTC").to Ascii(), true));180 + _begDateOut + " " + _begTimeOut + " UTC").toLatin1(), true)); 181 181 callScript(("Begin_Outage " 182 + _begDateOut + " " + _begTimeOut + " UTC").to Ascii());182 + _begDateOut + " " + _begTimeOut + " UTC").toLatin1()); 183 183 _decodeStop.setDate(QDate()); 184 184 _decodeStop.setTime(QTime()); … … 257 257 _begTimeCorr = _endDateTimeCorr.toUTC().time().toString("hh:mm:ss"); 258 258 emit(newMessage((_staID + ": Failure threshold exceeded, corrupted since " 259 + _begDateCorr + " " + _begTimeCorr + " UTC").to Ascii(), true));259 + _begDateCorr + " " + _begTimeCorr + " UTC").toLatin1(), true)); 260 260 callScript(("Begin_Corrupted " 261 + _begDateCorr + " " + _begTimeCorr + " UTC").to Ascii());261 + _begDateCorr + " " + _begTimeCorr + " UTC").toLatin1()); 262 262 _secSucc = 0; 263 263 _numSucc = 0; … … 277 277 _endTimeCorr = _begDateTimeCorr.toUTC().time().toString("hh:mm:ss"); 278 278 emit(newMessage((_staID + ": Recovery threshold exceeded, corruption ended " 279 + _endDateCorr + " " + _endTimeCorr + " UTC").to Ascii(), true));279 + _endDateCorr + " " + _endTimeCorr + " UTC").toLatin1(), true)); 280 280 callScript(("End_Corrupted " 281 281 + _endDateCorr + " " + _endTimeCorr + " UTC Begin was " 282 + _begDateCorr + " " + _begTimeCorr + " UTC").to Ascii());282 + _begDateCorr + " " + _begTimeCorr + " UTC").toLatin1()); 283 283 _decodeStartCorr.setDate(QDate()); 284 284 _decodeStartCorr.setTime(QTime()); … … 305 305 _endTimeOut = _begDateTimeOut.toUTC().time().toString("hh:mm:ss"); 306 306 emit(newMessage((_staID + ": Recovery threshold exceeded, outage ended " 307 + _endDateOut + " " + _endTimeOut + " UTC").to Ascii(), true));307 + _endDateOut + " " + _endTimeOut + " UTC").toLatin1(), true)); 308 308 callScript(("End_Outage " 309 309 + _endDateOut + " " + _endTimeOut + " UTC Begin was " 310 + _begDateOut + " " + _begTimeOut + " UTC").to Ascii());310 + _begDateOut + " " + _begTimeOut + " UTC").toLatin1()); 311 311 _decodeStart.setDate(QDate()); 312 312 _decodeStart.setTime(QTime()); … … 341 341 .arg(l._numLat) 342 342 .arg(l._numGaps) 343 .to Ascii(), true) );343 .toLatin1(), true) ); 344 344 } 345 345 } else { … … 353 353 .arg(int((sqrt((l._sumLatQ - l._sumLat * l._sumLat / l._numLat)/l._numLat))*100)/100.) 354 354 .arg(l._numLat) 355 .to Ascii(), true) );355 .toLatin1(), true) ); 356 356 } 357 357 } … … 466 466 .arg(l._numGaps); 467 467 if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) { 468 emit(newMessage(QString(_staID + late ).to Ascii(), true) );468 emit(newMessage(QString(_staID + late ).toLatin1(), true) ); 469 469 } 470 470 } … … 478 478 .arg(l._numLat); 479 479 if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) { 480 emit(newMessage(QString(_staID + late ).to Ascii(), true) );480 emit(newMessage(QString(_staID + late ).toLatin1(), true) ); 481 481 } 482 482 }
Note:
See TracChangeset
for help on using the changeset viewer.