Migrates EffectShow and AssetManagement to generated rtiddsgen API
Converts accessor calls to plain member access across esc and asm services.
This commit is contained in:
39 files changed
+818
-818
No files matched your search
@@ -31,10 +31,10 @@ bool DtcImplCustom::isAARWorkstation(const QString &wsName)
|
||||
int wsId = -1;
|
||||
for (const auto &at : m_dtcAsset->readAlive())
|
||||
{
|
||||
if (at.data().assetTypeId() == AssetManagement::AssetType::MobileAfterActionVehicle &&
|
||||
QString::fromStdString(at.data().name()).toUpper() == wsName.toUpper())
|
||||
if (at.data().assetTypeId == AssetManagement::AssetType::MobileAfterActionVehicle &&
|
||||
QString::fromStdString(at.data().name).toUpper() == wsName.toUpper())
|
||||
{
|
||||
wsId = at.data().id();
|
||||
wsId = at.data().id;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -53,9 +53,9 @@ int DtcImplCustom::getAssetId(const QString &wsName)
|
||||
int wsId = -1;
|
||||
for (const auto &at : m_dtcAsset->readAlive())
|
||||
{
|
||||
if ( QString::fromStdString(at.data().name()).toUpper() == wsName.toUpper())
|
||||
if ( QString::fromStdString(at.data().name).toUpper() == wsName.toUpper())
|
||||
{
|
||||
wsId = at.data().id();
|
||||
wsId = at.data().id;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user