Changeset 6769 in ntrip
- Timestamp:
- Apr 8, 2015, 9:09:57 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/latencychecker.cpp
r6768 r6769 154 154 155 155 _checkTime = QDateTime::currentDateTime(); 156 157 _begDateOut = _checkTime.toUTC().date().toString("yy-MM-dd"); // weber 158 _begTimeOut = _checkTime.toUTC().time().toString("hh:mm:ss"); 159 156 160 _decodeSucc = QDateTime::currentDateTime(); 157 161 … … 183 187 + ": Failure threshold exceeded, outage since " 184 188 + _begDateOut + " " + _begTimeOut).toAscii(), true)); 189 emit(newMessage((_staID + ": Begin_Outage " // weber 190 + _begDateOut + " " + _begTimeOut).toAscii(),true)); 185 191 callScript(("Begin_Outage " 186 192 + _begDateOut + " " + _begTimeOut).toAscii()); … … 303 309 + ": Recovery threshold exceeded, outage ended " 304 310 + _endDateOut + " " + _endTimeOut).toAscii(), true)); 305 if ( _begDateOut != "" && _begTimeOut != "" ) { 306 callScript(("End_Outage " 307 + _endDateOut + " " + _endTimeOut + " Begin was " 308 + _begDateOut + " " + _begTimeOut).toAscii()); 309 } 310 else { 311 callScript(("End_Outage " 312 + _endDateOut + " " + _endTimeOut).toAscii()); 313 } 311 emit(newMessage((_staID + ": End_Outage " // weber 312 + _endDateOut + " " + _endTimeOut + " Begin was " 313 + _begDateOut + " " + _begTimeOut).toAscii(),true)); 314 callScript(("End_Outage " 315 + _endDateOut + " " + _endTimeOut + " Begin was " 316 + _begDateOut + " " + _begTimeOut).toAscii()); 314 317 } 315 318 }
Note:
See TracChangeset
for help on using the changeset viewer.