Migrates InfrastructureManagement to generated rtiddsgen API
Converts accessor calls to plain member access across ism service.
This commit is contained in:
30 files changed
+1322
-1314
No files matched your search
+2
-2
@@ -131,7 +131,7 @@ bool DatabaseInterfaceImplCustom::updateMountingPointPlan(int scheduleId, int mo
|
||||
const QString tableName(getTableName(QStringLiteral("ism_mounting_point_plan")));
|
||||
const QString stmt(QStringLiteral("UPDATE ") + tableName +
|
||||
QStringLiteral(" SET mounting_point_state = ") +
|
||||
QString::number(mountingPointState.underlying()) +
|
||||
QString::number(static_cast<int>(mountingPointState)) +
|
||||
QStringLiteral(" WHERE mounting_point_schedule_id = ") +
|
||||
QString::number(scheduleId) +
|
||||
QStringLiteral(" AND structure_element_id = ") +
|
||||
@@ -188,7 +188,7 @@ bool DatabaseInterfaceImplCustom::insertMountingPointPlans(const std::vector<Dat
|
||||
{
|
||||
m_query->bindValue(QStringLiteral(":mounting_point_schedule_id"), data.mountingPointScheduleId);
|
||||
m_query->bindValue(QStringLiteral(":structure_element_id"), data.structureElementId);
|
||||
m_query->bindValue(QStringLiteral(":mounting_point_state"), static_cast<int>(data.mountingPointState.underlying()));
|
||||
m_query->bindValue(QStringLiteral(":mounting_point_state"), static_cast<int>(data.mountingPointState));
|
||||
if (!m_query->exec(m_bEmitMessageOnError))
|
||||
{
|
||||
m_lastError = m_query->lastError();
|
||||
|
||||
Reference in new issue
Block a user