Arash Aletayeb 12 months ago
parent
commit
105a7f3550
  1. 2
      developHw.pro.user
  2. 18
      mainwindow.cpp

2
developHw.pro.user

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.10.0, 2023-12-06T13:38:19. -->
<!-- Written by QtCreator 4.10.0, 2023-12-09T10:56:57. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>

18
mainwindow.cpp

@ -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);
}
}
}
/*************************************************************************************************/

Loading…
Cancel
Save