Migrates residual Lts sources to generated rtiddsgen API

Adds NmeaManagement tests, fixes codegen includes and Qt6 SerialPort CMake target.
This commit is contained in:
berrux-dev committed 2026-09-23 12:05:37 +02:00
1 parent 5485a90385
commit 881d44f4dd
512 files changed
+6887 -6426

No files matched your search

@@ -49,7 +49,7 @@ bool SaaDialogModel::initModel(LtsSession::LtsSession *session)
m_asmDtc->assets(
[this](const AssetManagement::Asset &asset)
{
if (asset.id() <= 1 || asset.assetTypeId() != AssetManagement::AssetType_def::AdlerSAA)
if (asset.id() <= 1 || asset.assetTypeId() != AssetManagement::AssetType::AdlerSAA)
return;
AsmAssetProps asmProps(QString::fromStdString(asset.properties()));
if (asmProps.hasExerciseId() && asmProps.exId != m_session->exerciseId())
@@ -153,7 +153,7 @@ void SaaDialogModel::onPartyDataChanged(const ParticipantManagement::Party &data
bool SaaDialogModel::isFiltered(const AssetManagement::Asset &data, DataModification modType) const
{
if (data.id() <= 1 || data.assetTypeId() != AssetManagement::AssetType_def::AdlerSAA)
if (data.id() <= 1 || data.assetTypeId() != AssetManagement::AssetType::AdlerSAA)
return true;
@@ -166,7 +166,7 @@ bool SaaDialogModel::isFiltered(const AssetManagement::Asset &data, DataModifica
void SaaDialogModel::slotAssetChanged(const AssetManagement::Asset &data, DataModification modType)
{
if (data.id() <= 1 || data.assetTypeId() != AssetManagement::AssetType_def::AdlerSAA)
if (data.id() <= 1 || data.assetTypeId() != AssetManagement::AssetType::AdlerSAA)
return;
AsmAssetProps asmProps(QString::fromStdString(data.properties()));
if (asmProps.hasExerciseId() && asmProps.exId != m_session->exerciseId())
@@ -245,7 +245,7 @@ QVariant SaaDialogModel::data(const QModelIndex &index, int role) const
ParticipantManagement::Party party;
if (asset.assetTypeId() == AssetManagement::AssetType_def::AdlerSAA && assetProps.hasExerciseId())
if (asset.assetTypeId() == AssetManagement::AssetType::AdlerSAA && assetProps.hasExerciseId())
getPartyWithAssetId(asset.id(), party);
if (role == Qt::DisplayRole)