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
@@ -979,7 +979,7 @@ int main(int argc, char **argv)
|
||||
|
||||
// bauabschnitt
|
||||
// Normally '-1', but Steve and Iuliana use '0' as default.
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::type::UnknownGroup;
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::UnknownGroup;
|
||||
if ((cfi.idxBauabschnitt>=0) && (parts.size() > cfi.idxBauabschnitt))
|
||||
{
|
||||
// postprocessing uses ba0 -> 0 , ba1 -> 1 ...
|
||||
@@ -987,25 +987,25 @@ int main(int argc, char **argv)
|
||||
const int ba = parts.at(cfi.idxBauabschnitt).toInt();
|
||||
switch (ba) {
|
||||
case 0:
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::type::Section0;
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::Section0;
|
||||
break;
|
||||
case 1:
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::type::Section1;
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::Section1;
|
||||
break;
|
||||
case 2:
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::type::Section2;
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::Section2;
|
||||
break;
|
||||
case 3:
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::type::Section3;
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::Section3;
|
||||
break;
|
||||
case 4:
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::type::Section4;
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::Section4;
|
||||
break;
|
||||
case 5:
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::type::Salchau;
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::Salchau;
|
||||
break;
|
||||
default:
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::type::UnknownGroup;
|
||||
data.bauabschnitt = InfrastructureManagement::BuildingGroup::UnknownGroup;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user