Files
qt-migration-legatus/qt5-before/dlbo/Lts/Tests/DatabaseInitialisation/ahtc_ism_values.sql
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

41 lines
3.9 KiB
SQL

-- # $Id: guez_ism_values.sql 55110 2021-09-24 16:48:18Z fritsche_h $
-- # $HeadURL: svn://slssvn/TDS/branches/product/iterations/21_07_assault_energy/Lts/Tests/DatabaseInitialisation/guez_ism_values.sql $
-- # $Author: fritsche_h $
-- AHTC data for ISM
-- MAIN STRUCTURE ELEMENTS (radio stations)
-- Each RadioStation must have a property "stationId" and optional "maxReceiver"
INSERT INTO ism.ism_main_structure_element (id, name, description, properties)
VALUES (102, 'MBS1', '{"description":"MBS01"}', '{"stationId": 3, "maxReceiver": 1, "hostname": "MBS01"}' );
INSERT INTO ism.ism_main_structure_element (id, name, description, properties)
VALUES (101, 'MBS2', '{"description":"MBS02"}', '{"stationId": 2, "maxReceiver": 1, "hostname": "MBS02"}' );
INSERT INTO ism.ism_main_structure_element (id, name, description, properties)
VALUES (103, 'BS1', '{"description":"BS01"}', '{"stationId": 4, "maxReceiver": 1, "hostname": "BS01"}' );
INSERT INTO ism.ism_main_structure_element (id, name, description, properties)
VALUES (104, 'BS2', '{"description":"BS02"}', '{"stationId": 5, "maxReceiver": 1, "hostname": "BS02"}' );
INSERT INTO ism.ism_main_structure_element (id, name, description, properties)
VALUES (105, 'BS3', '{"description":"BS03"}', '{"stationId": 6, "maxReceiver": 1, "hostname": "BS03"}' );
INSERT INTO ism.ism_main_structure_element (id, name, description, properties)
VALUES (106, 'BS5', '{"description":"BS05"}', '{"stationId": 7, "maxReceiver": 1, "hostname": "BS05"}' );
INSERT INTO ism.ism_main_structure_element (id, name, description, properties)
VALUES (107, 'BS4', '{"description":"BS04"}', '{"stationId": 8, "maxReceiver": 1, "hostname": "BS04"}' );
ALTER SEQUENCE ism.ism_main_structure_element_id_seq RESTART WITH 110;
INSERT INTO ism.ism_structure_element (id, name, display_name, main_structure_element_id, structure_element_type_id, path, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, properties, barcode)
VALUES (102, 'MBS1', 'MBS1', 102, 8, '{102}', 0.00, 0.00, 0.00, 0, '{}', NULL);
INSERT INTO ism.ism_structure_element (id, name, display_name, main_structure_element_id, structure_element_type_id, path, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, properties, barcode)
VALUES (101, 'MBS2', 'MBS2', 101, 8, '{101}', 0.00, 0.00, 0.00, 0, '{}', NULL);
INSERT INTO ism.ism_structure_element (id, name, display_name, main_structure_element_id, structure_element_type_id, path, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, properties, barcode)
VALUES (103, 'BS1', 'BS1', 103, 8, '{103}', 0.00, 0.00, 0.00, 0, '{}', NULL);
INSERT INTO ism.ism_structure_element (id, name, display_name, main_structure_element_id, structure_element_type_id, path, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, properties, barcode)
VALUES (104, 'BS2', 'BS2', 104, 8, '{104}', 0.00, 0.00, 0.00, 0, '{}', NULL);
INSERT INTO ism.ism_structure_element (id, name, display_name, main_structure_element_id, structure_element_type_id, path, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, properties, barcode)
VALUES (105, 'BS3', 'BS3', 105, 8, '{105}', 0.00, 0.00, 0.00, 0, '{}', NULL);
INSERT INTO ism.ism_structure_element (id, name, display_name, main_structure_element_id, structure_element_type_id, path, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, properties, barcode)
VALUES (106, 'BS5', 'BS5', 106, 8, '{106}', 0.00, 0.00, 0.00, 0, '{}', NULL);
INSERT INTO ism.ism_structure_element (id, name, display_name, main_structure_element_id, structure_element_type_id, path, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, properties, barcode)
VALUES (107, 'BS4', 'BS4', 107, 8, '{107}', 0.00, 0.00, 0.00, 0, '{}', NULL);
ALTER SEQUENCE ism.ism_structure_element_id_seq RESTART WITH 110;