152 lines
11 KiB
SQL
Executable File
152 lines
11 KiB
SQL
Executable File
-- # $Id$
|
|
-- # $HeadURL$
|
|
-- # $Author$
|
|
|
|
-- Report ChargeResupply
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1586283292000, 7, 55, -1, 106, 1100, 0, -1);
|
|
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1586283792000, 7, 55, 38, 106, 1100, 0, 1040);
|
|
|
|
-- ChargeType 38
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588283962000, 5, 55, 38, 106, 1000, 0, 600);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284062000, 5, 55, 38, 106, 1000, 50, 550);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284162000, 5, 55, 38, 106, 1000, 100, 450);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284262000, 5, 55, 38, 106, 1000, 200, 250);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284292000, 5, 55, -1, 106, 1000, 0, -1);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284362000, 5, 55, 38, 106, 1000, 0, 800);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284462000, 5, 55, 38, 106, 1000, 50, 750);
|
|
|
|
-- ChargeType 39
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588283961000, 5, 55, 39, 106, 1000, 0, 400);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284061000, 5, 55, 39, 106, 1000, 50, 350);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284161000, 5, 55, 39, 106, 1000, 150, 200);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284261000, 5, 55, 39, 106, 1000, 110, 90);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284361000, 5, 55, 39, 106, 1000, 20, 70);
|
|
|
|
-- ParticipantType 74, ChargeType 38
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588283972000, 8, 74, 38, 106, 1001, 0, 900);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284072000, 8, 74, 38, 106, 1001, 150, 750);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284172000, 8, 74, 38, 106, 1001, 100, 650);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284272000, 8, 74, 38, 106, 1001, 250, 400);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284372000, 8, 74, 38, 106, 1001, 100, 300);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284472000, 8, 74, 38, 106, 1001, 50, 250);
|
|
|
|
-- ParticipantType 74, ChargeType 39
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284382000, 8, 74, 39, 106, 1002, 0, 200);
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284482000, 8, 74, 39, 106, 1002, 50, 150);
|
|
|
|
-- GearChange to Participant 5
|
|
INSERT INTO ex_42.rep_charge_resupply_data (party_id, event_time, participant_id, participant_type_id, charge_type_id,
|
|
gear_type_id, gear_id, charge_fired, charge_remain)
|
|
VALUES (2, 1588284582000, 5, 55, -1, 106, 1002, 0, -1);
|
|
|
|
-- Report Mine Area
|
|
INSERT INTO ex_42.rep_mine_area_data (party_id, event_time, mine_area_id, participant_type_id, participant_id, mine_area_party_id, hit, hit_friendly_fire)
|
|
VALUES (2, 1592741000000, 2, 55, 1, 3, 1, 0);
|
|
INSERT INTO ex_42.rep_mine_area_data (party_id, event_time, mine_area_id, participant_type_id, participant_id, mine_area_party_id, hit, hit_friendly_fire)
|
|
VALUES (2, 1592742000000, 2, 55, 2, 3, 1, 0);
|
|
|
|
INSERT INTO ex_42.rep_mine_area_data (party_id, event_time, mine_area_id, participant_type_id, participant_id, mine_area_party_id, hit, hit_friendly_fire)
|
|
VALUES (2, 1592743000000, 2, 55, 3, 3, 1, 0);
|
|
INSERT INTO ex_42.rep_mine_area_data (party_id, event_time, mine_area_id, participant_type_id, participant_id, mine_area_party_id, hit, hit_friendly_fire)
|
|
VALUES (2, 1592744000000, 2, 55, 4, 3, 0, 1);
|
|
|
|
-- Report NBC Events
|
|
INSERT INTO ex_42.rep_nbc_data(event_time, nbc_id, aes_type, charge_type_id, party_id, participant_type_id, participant_id, hit, protection)
|
|
VALUES (1592741000000, 3, 2, 341, 3, 77, 30, 1, 0);
|
|
INSERT INTO ex_42.rep_nbc_data(event_time, nbc_id, aes_type, charge_type_id, party_id, participant_type_id, participant_id, hit, protection)
|
|
VALUES (1592741000000, 3, 2, 341, 3, 77, 31, 1, 0);
|
|
INSERT INTO ex_42.rep_nbc_data(event_time, nbc_id, aes_type, charge_type_id, party_id, participant_type_id, participant_id, hit, protection)
|
|
VALUES (1592741000000, 3, 2, 341, 3, 78, 32, 0, 1);
|
|
|
|
-- Report Vehicle Repair
|
|
INSERT INTO ex_42.rep_maintenance_data(party_id, participant_type_id, participant_id, time_event, time_position_changed, time_vulnerability)
|
|
VALUES (2, 77, 30, 1592741000000, 1592741000000, 1592741000000);
|
|
INSERT INTO ex_42.rep_maintenance_data(party_id, participant_type_id, participant_id, time_event, time_position_changed, time_vulnerability)
|
|
VALUES (2, 77, 31, 1592741000000, 1592741000000, 1592741000000);
|
|
INSERT INTO ex_42.rep_maintenance_data(party_id, participant_type_id, participant_id, time_event, time_position_changed, time_vulnerability)
|
|
VALUES (2, 78, 32, 1592741000000, 1592741000000, 1592741000000);
|
|
|
|
-- Report Decontamination
|
|
INSERT INTO ex_42.rep_maintenance_data(party_id, participant_type_id, participant_id, time_event, time_position_changed, time_vulnerability)
|
|
VALUES (2, 55, 5, 1592741000000, 1592741000000, 1592741000000);
|
|
INSERT INTO ex_42.rep_maintenance_data(party_id, participant_type_id, participant_id, time_event, time_position_changed, time_vulnerability)
|
|
VALUES (2, 55, 6, 1592741000000, 1592741000000, 1592741000000);
|
|
INSERT INTO ex_42.rep_maintenance_data(party_id, participant_type_id, participant_id, time_event, time_position_changed, time_vulnerability)
|
|
VALUES (2, 55, 7, 1592741000000, 1592741000000, 1592741000000);
|
|
|
|
-- Reports Treatment
|
|
INSERT INTO ex_42.rep_treatment_data(party_id, participant_type_id, participant_id, vulnerability, priority, time_vulnerability, time_nine_liner, time_position_changed, time_enter_area, time_treatment, sanitation_result, sanitation_procedures_taken, position_x, position_y, position_x_m, position_y_m)
|
|
VALUES (2, 55, 5, 1, 3, 1594218500000, 1594218600000, 1594218700000, 1594218800000, 1594218900000, 2, 1, 0.1, 0.245, 794820.503861086, 1553574.19373674);
|
|
INSERT INTO ex_42.rep_treatment_data(party_id, participant_type_id, participant_id, vulnerability, priority, time_vulnerability, time_nine_liner, time_position_changed, time_enter_area, time_treatment, sanitation_result, sanitation_procedures_taken, position_x, position_y, position_x_m, position_y_m)
|
|
VALUES (2, 55, 6, 2, 2, 1594218500000, 1594218600000, 1594218700000, 1594218800000, 1594218900000, 1, 2, 0.1, 0.245, 794820.503861086, 1553574.19373674);
|
|
INSERT INTO ex_42.rep_treatment_data(party_id, participant_type_id, participant_id, vulnerability, priority, time_vulnerability, time_nine_liner, time_position_changed, time_enter_area, time_treatment, sanitation_result, sanitation_procedures_taken, position_x, position_y, position_x_m, position_y_m)
|
|
VALUES (2, 55, 7, 3, 1, 1594218500000, 1594218600000, 1594218700000, 1594218800000, 1594218900000, 3, 3, 0.1, 0.245, 794820.503861086, 1553574.19373674);
|
|
|
|
-- Report IED
|
|
INSERT INTO ex_42.gim_ied (id, equipment_number, type_id, explosive_force, party_id, pairing_state_id, tactical_state_id, sample_time)
|
|
VALUES (1, 1001, 1, 2, 2, 1, 1, extract(epoch from now()) * 1000);
|
|
|
|
-- Report Sanitation Material
|
|
INSERT INTO ex_42.rep_sanitation_material_data (party_id, event_time, participant_id, material_id, material_amount, sanitation_unique_id, qualification)
|
|
VALUES (2, 1593181800000, 5, 1, 1, 123, 1);
|
|
INSERT INTO ex_42.rep_sanitation_material_data (party_id, event_time, participant_id, material_id, material_amount, sanitation_unique_id, qualification)
|
|
VALUES (2, 1593181800000, 5, 2, 2, 123, 1);
|
|
INSERT INTO ex_42.rep_sanitation_material_data (party_id, event_time, participant_id, material_id, material_amount, sanitation_unique_id, qualification)
|
|
VALUES (2, 1593181800000, 5, 3, 3, 123, 1);
|
|
INSERT INTO ex_42.rep_sanitation_material_data (party_id, event_time, participant_id, material_id, material_amount, sanitation_unique_id, qualification)
|
|
VALUES (2, 1593181800000, 5, 4, 16, 123, 1);
|
|
INSERT INTO ex_42.rep_sanitation_material_data (party_id, event_time, participant_id, material_id, material_amount, sanitation_unique_id, qualification)
|
|
VALUES (2, 1593181800000, 5, 5, 4, 123, 1);
|
|
INSERT INTO ex_42.rep_sanitation_material_data (party_id, event_time, participant_id, material_id, material_amount, sanitation_unique_id, qualification)
|
|
VALUES (2, 1593181800000, 5, 6, 2, 123, 1);
|
|
INSERT INTO ex_42.rep_sanitation_material_data (party_id, event_time, participant_id, material_id, material_amount, sanitation_unique_id, qualification)
|
|
VALUES (2, 1593181800000, 5, 7, 1, 123, 1);
|
|
INSERT INTO ex_42.rep_sanitation_material_data (party_id, event_time, participant_id, material_id, material_amount, sanitation_unique_id, qualification)
|
|
VALUES (2, 1593181800000, 5, 8, 2, 123, 1);
|
|
|