Files
qt5-legatus-legacy/Lts/Tests/DatabaseInitialisation/ahtc_ism_values.sql
T
2026-08-13 18:33:10 +02:00

41 lines
3.9 KiB
SQL
Executable File

-- # $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;