|
|
@ -1418,11 +1418,6 @@ void MainWindow::on_cb_selectedProbe_currentIndexChanged(int index) |
|
|
|
{ |
|
|
|
on_btn_scenStart_clicked(); |
|
|
|
} |
|
|
|
else if(ui->chk_powerAo->isChecked()) |
|
|
|
{ |
|
|
|
on_chk_powerAo_clicked(false); |
|
|
|
ui->chk_powerAo->setChecked(false); |
|
|
|
} |
|
|
|
|
|
|
|
if(indx == 0) |
|
|
|
{ |
|
|
@ -2379,11 +2374,6 @@ void MainWindow::on_btn_setAo_clicked() |
|
|
|
{ |
|
|
|
on_btn_scenStart_clicked(); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
on_chk_powerAo_clicked(false); |
|
|
|
ui->chk_powerAo->setChecked(false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
catch(SonoException& e) |
|
|
@ -5379,14 +5369,6 @@ void MainWindow::exitApp() |
|
|
|
void MainWindow::on_chk_powerAo_clicked(bool checked) |
|
|
|
{ |
|
|
|
_trx.powerAo(checked); |
|
|
|
if(checked) |
|
|
|
{ |
|
|
|
delay(100); |
|
|
|
if(!hvPermission()) |
|
|
|
{ |
|
|
|
_trx.powerAo(false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/*************************************************************************************************/ |
|
|
|