Browse Source

C-360 probe id is added.

Arash Aletayeb 10 months ago
parent
commit
bcf4e12a36
  1. 2
      developHw.pro.user
  2. 17
      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, 2024-05-12T14:19:26. -->
<!-- Written by QtCreator 4.10.0, 2024-06-11T11:14:00. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>

17
mainwindow.cpp

@ -729,6 +729,7 @@ void MainWindow::getPrbChange()
{
const quint32 id9L_D = 0x212;
const quint32 idC1_5_D = 0x225;
const quint32 idC_360 = 0xEE00;
try
{
@ -754,6 +755,10 @@ void MainWindow::getPrbChange()
ui->table_probe->setItem(0, 0, new QTableWidgetItem("C1-5-D"));
break;
case idC_360:
ui->table_probe->setItem(0, 0, new QTableWidgetItem("C-360"));
break;
default:
ui->table_probe->setItem(0, 0, new QTableWidgetItem("Unknown"));
}
@ -792,6 +797,10 @@ void MainWindow::getPrbChange()
ui->table_probe->setItem(0, 1, new QTableWidgetItem("C1-5-D"));
break;
case idC_360:
ui->table_probe->setItem(0, 1, new QTableWidgetItem("C-360"));
break;
default:
ui->table_probe->setItem(0, 1, new QTableWidgetItem("Unknown"));
}
@ -830,6 +839,10 @@ void MainWindow::getPrbChange()
ui->table_probe->setItem(0, 2, new QTableWidgetItem("C1-5-D"));
break;
case idC_360:
ui->table_probe->setItem(0, 2, new QTableWidgetItem("C-360"));
break;
default:
ui->table_probe->setItem(0, 2, new QTableWidgetItem("Unknown"));
}
@ -868,6 +881,10 @@ void MainWindow::getPrbChange()
ui->table_probe->setItem(0, 3, new QTableWidgetItem("C1-5-D"));
break;
case idC_360:
ui->table_probe->setItem(0, 3, new QTableWidgetItem("C-360"));
break;
default:
ui->table_probe->setItem(0, 3, new QTableWidgetItem("Unknown"));
}

Loading…
Cancel
Save