Migrates residual Lts sources to generated rtiddsgen API
Adds NmeaManagement tests, fixes codegen includes and Qt6 SerialPort CMake target.
This commit is contained in:
1 parent
5485a90385
commit
881d44f4dd
512 files changed
+6887
-6426
No files matched your search
+8
-8
@@ -95,35 +95,35 @@ void InfoDialog::showIedInfos()
|
||||
m_ui->lblState->setText(GuezIedManagement::toString(ied.tacticalState()));
|
||||
|
||||
m_ui->tbwBit->setRowCount(0);
|
||||
if (ied.electronicsError().underlying() != IedError_def::NoError)
|
||||
if (ied.electronicsError().underlying() != IedError::NoError)
|
||||
{
|
||||
QTableWidgetItem *device = new QTableWidgetItem(tr("Electronics"));
|
||||
QTableWidgetItem *error = new QTableWidgetItem(GuezIedManagement::toString(ied.electronicsError()));
|
||||
addTbwBitEntry(device, error);
|
||||
}
|
||||
if (ied.pyrotechnics1Error().underlying() != IedError_def::NoError)
|
||||
if (ied.pyrotechnics1Error().underlying() != IedError::NoError)
|
||||
{
|
||||
QTableWidgetItem *device = new QTableWidgetItem(tr("Pyrotechnics 1"));
|
||||
QTableWidgetItem *error = new QTableWidgetItem(GuezIedManagement::toString(ied.pyrotechnics1Error()));
|
||||
addTbwBitEntry(device, error);
|
||||
}
|
||||
if (ied.pyrotechnics2Error().underlying() != IedError_def::NoError)
|
||||
if (ied.pyrotechnics2Error().underlying() != IedError::NoError)
|
||||
{
|
||||
QTableWidgetItem *device = new QTableWidgetItem(tr("Pyrotechnics 2"));
|
||||
QTableWidgetItem *error = new QTableWidgetItem(GuezIedManagement::toString(ied.pyrotechnics2Error()));
|
||||
addTbwBitEntry(device, error);
|
||||
}
|
||||
if (ied.pyrotechnics3Error().underlying() != IedError_def::NoError)
|
||||
if (ied.pyrotechnics3Error().underlying() != IedError::NoError)
|
||||
{
|
||||
QTableWidgetItem *device = new QTableWidgetItem(tr("Pyrotechnics 3"));
|
||||
QTableWidgetItem *error = new QTableWidgetItem(GuezIedManagement::toString(ied.pyrotechnics3Error()));
|
||||
addTbwBitEntry(device, error);
|
||||
}
|
||||
|
||||
if ((ied.electronicsError().underlying() == IedError_def::NoError) &&
|
||||
(ied.pyrotechnics1Error().underlying() == IedError_def::NoError) &&
|
||||
(ied.pyrotechnics2Error().underlying() == IedError_def::NoError) &&
|
||||
(ied.pyrotechnics3Error().underlying() == IedError_def::NoError))
|
||||
if ((ied.electronicsError().underlying() == IedError::NoError) &&
|
||||
(ied.pyrotechnics1Error().underlying() == IedError::NoError) &&
|
||||
(ied.pyrotechnics2Error().underlying() == IedError::NoError) &&
|
||||
(ied.pyrotechnics3Error().underlying() == IedError::NoError))
|
||||
{
|
||||
QTableWidgetItem *device = new QTableWidgetItem(tr("no Errors"));
|
||||
addTbwBitEntry(device, nullptr);
|
||||
|
||||
Reference in new issue
Block a user