Files
qt-migration-legatus/qt5-before/dlbo/Lts/Services/MeteoDataManagement/mdm_service.xml
T
torstenandCopilot 7173785915 Qt6 Migration: Complete migration with DDS/RTI support and build validation
Major Changes:
- Merged latest Qt5 devel content from dlbo (292 files changed, 7 new dirs)
- Consolidated forward-declarations and include folders
- Removed unneeded modules per Niklas' repo check list

Build System Fixes:
- Fixed CMake VERSION_GREATER syntax in ParticipantManagement/CMakeLists.txt
- Added VLC packages (libvlc-dev, vlc-plugin-base) to docker_build.sh
- Added PostgreSQL dev packages (libpq-dev, postgresql-server-dev-all) to Dockerfile
- Fixed locale warnings (ANSI_X3.4-1968 → C.UTF-8)
- Fixed ArcGIS SDK path warnings when BUILD_ARCGIS=OFF

Code Generation Fixes:
- Fixed IDL enum collisions (PortType→CorePortType/DdsutPortType, PdmEventType)
- Fixed Grantlee template svc_translation.cpp.grantlee:
  - Changed {{ idl_enum.name }}_def:: to {{ idl_enum.name }}::
  - Fixed .underlying() calls for C++11 scoped enums (enum class)
- Removed generated files from repo (moc_*, *_dtc.h, *_ftc.h)

Validation:
- BUILD_RTI=ON: SUCCESS
- BUILD_RTI=OFF: SUCCESS
- C++17 standard maintained for RTI 7.7 compatibility
- Ubuntu 26.04 Docker environment verified

Remaining Warnings (expected):
- BgViewer, KDChart, KDReports, Poppler-Qt6 not found (optional features)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-15 18:20:26 +00:00

78 lines
3.9 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<service namespace="MeteoDataManagement" abbreviation="MDM" procNames="MeteoDataManagement" exerciseDependency="Global" groups="Core">
<rcs>
<Id Id="$Id$"/>
<HeadURL HeadURL="$HeadURL$"/>
<Author Author="$Author$"/>
</rcs>
<operatorRights offset="22">
<guiPlugin name="StaticWeather" offset="2">
<operatorRightGroup name="Meteo Data Management - Static Weather Data" description="Edit static weather">
<operatorRight right="MeteoDataStaticWeatherEdit" value="1" description="Edit Meteorological Data"/>
<operatorRight right="MeteoDataStaticWeatherShow" value="2" description="Show Meteorological Data"/>
</operatorRightGroup>
</guiPlugin>
<guiPlugin name="WeatherStations" offset="1">
<operatorRightGroup name="Meteo Data Management - Weather Stations" description="Show Weather Stations">
<operatorRight right="MeteoDataWeatherStationsShow" value="2" description="Show Meteorological Data"/>
</operatorRightGroup>
</guiPlugin>
</operatorRights>
<tables>
<table name="mdm_static_meteo_data">
<column name="id" datatype="integer" isPrimaryKey="1">
<sequence start="1" increment="1"/>
</column>
<column name="time_stamp" datatype="bigint"/>
<column name="wind_direction" datatype="real" default="90.0"/>
<column name="wind_speed" datatype="real" default="0.0"/>
<column name="temperature" datatype="real" default="18.5"/>
<column name="pressure" datatype="real" default="1010.5"/>
<column name="humidity" datatype="real" default="45.6"/>
<constraint name="UQ_mdm_static_meteo_data_id" type="unique">
<column name="id"/>
</constraint>
</table>
</tables>
<views/>
<dbServiceStructs>
<serviceStruct name="MdmStaticMeteoData" table="mdm_static_meteo_data"/>
<table name="mdm_static_meteo_data"/>
</dbServiceStructs>
<topicTypes>
<topicType name="MeteoData" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0">
<column name="id" idlType="long" isKey="1"/>
<column name="pos" idlType="Core::GeoPosition2D"/>
<column name="weatherStationId" idlType="long" comment="Correspond to the assetId assigned from ISM"/>
<column name="note" idlType="string"/>
<column name="isStaticMeteoData" idlType="boolean"/>
<column name="timeStamp" idlType="long long"/>
<column name="windDirection" idlType="double" comment="wind direction in degree, clockwise, North = 0. Statement means the wind comes from direction."/>
<column name="windSpeed" idlType="double" comment="wind speed in m/s"/>
<column name="temperature" idlType="double" comment="in degree Celsius"/>
<column name="pressure" idlType="double" comment="air pressure in hPa"/>
<column name="humidity " idlType="double" comment="air humidity in percent"/>
<column name="windOk" idlType="boolean"/>
<column name="climateOk" idlType="boolean"/>
</topicType>
<topicType name="StaticMeteoDataModifyRequest">
<column name="id" idlType="long"/>
<column name="timeStamp" idlType="long long"/>
<column name="windDirection" idlType="double"/>
<column name="windSpeed" idlType="double"/>
<column name="temperature" idlType="double"/>
<column name="pressure" idlType="double"/>
<column name="humidity" idlType="double"/>
</topicType>
</topicTypes>
<functionTopics>
<functionTopic name="StaticMeteoDataModify" requestTopicType="StaticMeteoDataModifyRequest" replyTopicType="Core::FunctionReply" requestTopicName="StaticMeteoDataModifyRequest" replyTopicName="StaticMeteoDataModifyReply" routeInReplay="0"/>
</functionTopics>
<enumerations>
<enumeration name="DummyEnum">
<attribute key="val1" value="1"/>
<attribute key="val2" value="2"/>
</enumeration>
</enumerations>
</service>