Fix scope part offline mode

master
Timothy Pearson 12 years ago
parent 920e33395a
commit 77ab205bde

@ -448,7 +448,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -481,7 +486,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -517,7 +527,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -553,7 +568,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -594,7 +614,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -646,7 +671,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -690,7 +720,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -738,7 +773,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -782,7 +822,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -825,7 +870,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -862,7 +912,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -904,7 +959,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -949,7 +1009,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -1013,7 +1078,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -1080,7 +1150,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -1133,7 +1208,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -1174,7 +1254,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -1217,7 +1302,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {
@ -1266,7 +1356,12 @@ void ScopePart::mainEventLoop() {
EXEC_NEXT_STATE_IMMEDIATELY EXEC_NEXT_STATE_IMMEDIATELY
} }
else { else {
COMMUNICATIONS_FAILED if (stopTraceUpdate == false) {
COMMUNICATIONS_FAILED
}
else {
setTickerMessage(i18n("Data acquisition stopped"));
}
} }
} }
else { else {

Loading…
Cancel
Save