-- Database Structure and Sample Data for Total Particulate Measurement
-- Based on PMK RI No.2 Tahun 2023

-- ------------------------------------------------------------------------------
-- Master Tables - Particulate Specific
-- ------------------------------------------------------------------------------

-- Master Area Types
CREATE TABLE IF NOT EXISTS master_area_types (
    area_type_id INT PRIMARY KEY,
    area_type_name VARCHAR(100) NOT NULL,
    description TEXT,
    status BOOLEAN DEFAULT TRUE,
    input_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    input_user VARCHAR(50)
);

-- Master Particulate Standards
CREATE TABLE IF NOT EXISTS master_particulate_standards (
    standard_id INT PRIMARY KEY,
    regulation_id INT NOT NULL,
    area_type_id INT NOT NULL,
    parameter_code VARCHAR(20) NOT NULL, -- TSP, PM10, PM2.5
    standard_value DECIMAL(7, 2) NOT NULL,
    unit VARCHAR(20) DEFAULT 'μg/Nm³',
    averaging_time VARCHAR(50),
    description TEXT,
    status BOOLEAN DEFAULT TRUE,
    input_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    input_user VARCHAR(50),
    FOREIGN KEY (regulation_id) REFERENCES master_regulations(regulation_id),
    FOREIGN KEY (area_type_id) REFERENCES master_area_types(area_type_id)
);

-- Master Particulate Measurement Methods
CREATE TABLE IF NOT EXISTS master_particulate_methods (
    method_id INT PRIMARY KEY,
    method_code VARCHAR(50) NOT NULL,
    method_name VARCHAR(255) NOT NULL,
    parameter_code VARCHAR(20) NOT NULL, -- TSP, PM10, PM2.5
    description TEXT,
    standard_reference VARCHAR(100),
    status BOOLEAN DEFAULT TRUE,
    input_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    input_user VARCHAR(50)
);

-- Master Particulate Measurement Equipment
CREATE TABLE IF NOT EXISTS master_particulate_equipment (
    equipment_id INT PRIMARY KEY,
    equipment_code VARCHAR(20) NOT NULL,
    equipment_name VARCHAR(100) NOT NULL,
    equipment_type VARCHAR(50),
    brand VARCHAR(100),
    model VARCHAR(100),
    serial_number VARCHAR(100),
    parameter_measured VARCHAR(100), -- TSP, PM10, PM2.5, Multi-parameter
    specifications TEXT,
    flow_rate VARCHAR(50),
    filter_type VARCHAR(100),
    calibration_date DATE,
    next_calibration_date DATE,
    calibration_status VARCHAR(20),
    certificate_file VARCHAR(255),
    status BOOLEAN DEFAULT TRUE,
    input_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    input_user VARCHAR(50)
);

-- ------------------------------------------------------------------------------
-- Transaction Tables - Particulate Specific
-- ------------------------------------------------------------------------------

-- Particulate Sampling Plan
CREATE TABLE IF NOT EXISTS trx_particulate_sampling_plan (
    sampling_plan_id INT PRIMARY KEY,
    sampling_plan_code VARCHAR(50) NOT NULL,
    project_name VARCHAR(255) NOT NULL,
    client_id INT NOT NULL,
    planned_sampling_date DATE NOT NULL,
    sampling_location TEXT NOT NULL,
    point_count INT,
    parameters VARCHAR(100), -- Comma separated list: TSP, PM10, PM2.5
    approval_status VARCHAR(20) DEFAULT 'DRAFT',
    notes TEXT,
    input_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    input_user VARCHAR(50)
);

-- Particulate Measurement Results - Header
CREATE TABLE IF NOT EXISTS trx_particulate_measurement_results (
    measurement_id INT PRIMARY KEY,
    sampling_plan_id INT NOT NULL,
    report_code VARCHAR(50) NOT NULL,
    sampling_date DATE NOT NULL,
    start_time TIME,
    end_time TIME,
    weather_condition VARCHAR(100),
    temperature DECIMAL(5, 2),
    humidity DECIMAL(5, 2),
    wind_speed DECIMAL(5, 2),
    wind_direction VARCHAR(10),
    pressure DECIMAL(7, 2),
    sampling_officers VARCHAR(100),
    report_status VARCHAR(20) DEFAULT 'DRAFT',
    notes TEXT,
    input_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    input_user VARCHAR(50),
    FOREIGN KEY (sampling_plan_id) REFERENCES trx_particulate_sampling_plan(sampling_plan_id)
);

-- Particulate Measurement Details
CREATE TABLE IF NOT EXISTS trx_particulate_measurement_details (
    measurement_detail_id INT PRIMARY KEY,
    measurement_id INT NOT NULL,
    point_code VARCHAR(20) NOT NULL,
    location_name VARCHAR(255) NOT NULL,
    area_description TEXT,
    area_type_id INT NOT NULL,
    latitude DECIMAL(10, 6),
    longitude DECIMAL(10, 6),
    sampling_height DECIMAL(4, 2),
    sampling_duration DECIMAL(5, 2),
    parameter_code VARCHAR(20) NOT NULL, -- TSP, PM10, PM2.5
    method_id INT NOT NULL,
    equipment_id INT NOT NULL,
    filter_id VARCHAR(50),
    initial_weight DECIMAL(10, 5),
    final_weight DECIMAL(10, 5),
    flow_rate DECIMAL(7, 2),
    volume_sampled DECIMAL(10, 2),
    result_value DECIMAL(8, 2) NOT NULL,
    standard_id INT NOT NULL,
    compliance_status VARCHAR(20),
    major_sources TEXT,
    recommendations TEXT,
    notes TEXT,
    input_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    input_user VARCHAR(50),
    FOREIGN KEY (measurement_id) REFERENCES trx_particulate_measurement_results(measurement_id),
    FOREIGN KEY (area_type_id) REFERENCES master_area_types(area_type_id),
    FOREIGN KEY (method_id) REFERENCES master_particulate_methods(method_id),
    FOREIGN KEY (equipment_id) REFERENCES master_particulate_equipment(equipment_id),
    FOREIGN KEY (standard_id) REFERENCES master_particulate_standards(standard_id)
);

-- Dust Control Recommendations
CREATE TABLE IF NOT EXISTS trx_dust_control_recommendations (
    recommendation_id INT PRIMARY KEY,
    measurement_detail_id INT NOT NULL,
    control_type VARCHAR(50) NOT NULL, -- Engineering, Administrative, PPE
    control_description TEXT NOT NULL,
    priority INT,
    estimated_cost DECIMAL(12, 2),
    estimated_reduction DECIMAL(5, 1),
    implementation_status VARCHAR(20) DEFAULT 'PLANNED',
    input_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    input_user VARCHAR(50),
    FOREIGN KEY (measurement_detail_id) REFERENCES trx_particulate_measurement_details(measurement_detail_id)
);

-- ------------------------------------------------------------------------------
-- Sample Data Insertion - Master Tables
-- ------------------------------------------------------------------------------

-- Insert Data Master Area Types
INSERT INTO master_area_types (area_type_id, area_type_name, description, status, input_user)
VALUES 
(1, 'Industrial Areas', 'Manufacturing and industrial activity areas', TRUE, 'admin'),
(2, 'Residential Areas', 'Residential housing and settlements', TRUE, 'admin'),
(3, 'Office and Commercial Areas', 'Office buildings and commercial areas', TRUE, 'admin'),
(4, 'Parks and Green Areas', 'Public parks and green spaces', TRUE, 'admin'),
(5, 'Sensitive Areas', 'Hospitals, schools, and other sensitive locations', TRUE, 'admin');

-- Insert Data Master Particulate Standards
INSERT INTO master_particulate_standards (standard_id, regulation_id, area_type_id, parameter_code, standard_value, unit, averaging_time, description, status, input_user)
VALUES 
-- TSP/Total Particulate Matter Standards
(1, 1, 1, 'TSP', 230.00, 'μg/Nm³', '24 hours', 'Industrial areas TSP standard', TRUE, 'admin'),
(2, 1, 2, 'TSP', 90.00, 'μg/Nm³', '24 hours', 'Residential areas TSP standard', TRUE, 'admin'),
(3, 1, 3, 'TSP', 90.00, 'μg/Nm³', '24 hours', 'Office and commercial areas TSP standard', TRUE, 'admin'),
(4, 1, 4, 'TSP', 90.00, 'μg/Nm³', '24 hours', 'Parks and green areas TSP standard', TRUE, 'admin'),
(5, 1, 5, 'TSP', 90.00, 'μg/Nm³', '24 hours', 'Sensitive areas TSP standard', TRUE, 'admin'),

-- PM10 Standards
(6, 1, 1, 'PM10', 150.00, 'μg/Nm³', '24 hours', 'Industrial areas PM10 standard', TRUE, 'admin'),
(7, 1, 2, 'PM10', 75.00, 'μg/Nm³', '24 hours', 'Residential areas PM10 standard', TRUE, 'admin'),
(8, 1, 3, 'PM10', 75.00, 'μg/Nm³', '24 hours', 'Office and commercial areas PM10 standard', TRUE, 'admin'),
(9, 1, 4, 'PM10', 75.00, 'μg/Nm³', '24 hours', 'Parks and green areas PM10 standard', TRUE, 'admin'),
(10, 1, 5, 'PM10', 75.00, 'μg/Nm³', '24 hours', 'Sensitive areas PM10 standard', TRUE, 'admin'),

-- PM2.5 Standards
(11, 1, 1, 'PM2.5', 55.00, 'μg/Nm³', '24 hours', 'Industrial areas PM2.5 standard', TRUE, 'admin'),
(12, 1, 2, 'PM2.5', 55.00, 'μg/Nm³', '24 hours', 'Residential areas PM2.5 standard', TRUE, 'admin'),
(13, 1, 3, 'PM2.5', 55.00, 'μg/Nm³', '24 hours', 'Office and commercial areas PM2.5 standard', TRUE, 'admin'),
(14, 1, 4, 'PM2.5', 55.00, 'μg/Nm³', '24 hours', 'Parks and green areas PM2.5 standard', TRUE, 'admin'),
(15, 1, 5, 'PM2.5', 55.00, 'μg/Nm³', '24 hours', 'Sensitive areas PM2.5 standard', TRUE, 'admin');

-- Insert Data Master Particulate Measurement Methods
INSERT INTO master_particulate_methods (method_id, method_code, method_name, parameter_code, description, standard_reference, status, input_user)
VALUES 
(1, 'SNI-7119.3-2005', 'High Volume Method for TSP', 'TSP', 'Gravimetric method for TSP using high volume sampler', 'SNI 19-7119.3-2005', TRUE, 'admin'),
(2, 'SNI-7119.15-2016', 'High Volume Method for PM10', 'PM10', 'Gravimetric method for PM10 using high volume sampler with PM10 inlet', 'SNI 19-7119.15-2016', TRUE, 'admin'),
(3, 'SNI-7119.14-2016', 'Gravimetric Method for PM2.5', 'PM2.5', 'Gravimetric method for PM2.5 using low volume sampler with PM2.5 inlet', 'SNI 19-7119.14-2016', TRUE, 'admin'),
(4, 'US-EPA-IO-2.1', 'EPA Method IO-2.1 for TSP', 'TSP', 'EPA Method for sampling TSP using high volume samplers', 'US EPA IO-2.1', TRUE, 'admin'),
(5, 'US-EPA-IO-3.1', 'EPA Method IO-3.1 for PM10', 'PM10', 'EPA Method for PM10 sampling', 'US EPA IO-3.1', TRUE, 'admin');

-- Insert Data Master Particulate Measurement Equipment
INSERT INTO master_particulate_equipment (equipment_id, equipment_code, equipment_name, equipment_type, brand, model, serial_number, parameter_measured, specifications, flow_rate, filter_type, calibration_date, next_calibration_date, calibration_status, certificate_file, status, input_user)
VALUES 
(1, 'HVAS-01', 'High Volume Air Sampler', 'HVAS', 'Tisch Environmental', 'TE-5000', 'HV12345', 'TSP', 'Flow rate: 1.13-1.70 m³/min, Motor: Continuous duty brushes', '1.13-1.70 m³/min', 'Glass Fiber Filter 8×10 inch', '2024-04-05', '2025-04-05', 'VALID', '/documents/calibration/hvas_tisch_2024.pdf', TRUE, 'admin'),
(2, 'PM10-01', 'PM10 High Volume Sampler', 'PM10 HVAS', 'Tisch Environmental', 'TE-6070', 'PM10-7890', 'PM10', 'Flow rate: 1.13-1.70 m³/min, Size-selective inlet', '1.13-1.70 m³/min', 'Quartz Fiber Filter 8×10 inch', '2024-04-10', '2025-04-10', 'VALID', '/documents/calibration/pm10_tisch_2024.pdf', TRUE, 'admin'),
(3, 'PM25-01', 'Low Volume PM2.5 Sampler', 'PM2.5 LVS', 'BGI', 'PQ200', 'PQ-5678', 'PM2.5', 'Flow rate: 16.7 L/min, WINS impactor', '16.7 L/min', '47mm PTFE membrane filter', '2024-03-15', '2025-03-15', 'VALID', '/documents/calibration/pm25_bgi_2024.pdf', TRUE, 'admin'),
(4, 'MET-01', 'Weather Station', 'Weather Monitor', 'Davis', 'Vantage Pro2', 'WS78901', 'Meteorological Parameters', 'Temperature, humidity, pressure, wind speed/direction', 'N/A', 'N/A', '2024-03-15', '2025-03-15', 'VALID', '/documents/calibration/met_davis_2024.pdf', TRUE, 'admin'),
(5, 'BAL-01', 'Analytical Balance', 'Microbalance', 'Mettler Toledo', 'XPR2U', 'MT34567', 'Filter Weighing', 'Range: 0-2.1g, Readability: 0.1μg, Repeatability: 0.15μg', 'N/A', 'N/A', '2024-02-20', '2025-02-20', 'VALID', '/documents/calibration/bal_mettler_2024.pdf', TRUE, 'admin');

-- ------------------------------------------------------------------------------
-- Sample Data Insertion - Transaction Tables
-- ------------------------------------------------------------------------------

-- Sample Particulate Sampling Plan
INSERT INTO trx_particulate_sampling_plan (sampling_plan_id, sampling_plan_code, project_name, client_id, planned_sampling_date, sampling_location, point_count, parameters, approval_status, notes, input_date, input_user)
VALUES 
(1, 'SP-PART-2024-002', 'Total Particulate Measurement at PT. Integrated Manufacturing Industries', 201, '2024-06-15', 'PT. Integrated Manufacturing Industries, Industrial Zone Block C5, Karawang, West Java', 6, 'TSP,PM10', 'APPROVED', 'Particulate measurement for environmental compliance monitoring', '2024-06-05 10:00:00', 'supervisor');

-- Sample Particulate Measurement Results - Header
INSERT INTO trx_particulate_measurement_results (measurement_id, sampling_plan_id, report_code, sampling_date, start_time, end_time, weather_condition, temperature, humidity, wind_speed, wind_direction, pressure, sampling_officers, report_status, notes, input_date, input_user)
VALUES 
(1, 1, 'LHU/PART/06/2024/005', '2024-06-15', '08:30:00', '16:30:00', 'Sunny', 31.0, 68.0, 1.2, 'North', 760.0, 'Rudi Hartono, Siti Fauziah', 'FINAL', 'Measurement conducted during normal operations', '2024-06-15 17:00:00', 'analyst');

-- Sample Particulate Measurement Details
INSERT INTO trx_particulate_measurement_details (measurement_detail_id, measurement_id, point_code, location_name, area_description, area_type_id, latitude, longitude, sampling_height, sampling_duration, parameter_code, method_id, equipment_id, filter_id, initial_weight, final_weight, flow_rate, volume_sampled, result_value, standard_id, compliance_status, major_sources, recommendations, notes, input_date, input_user)
VALUES 
-- Main Factory Entrance - TSP
(1, 1, 'TPM-1', 'Main Factory Entrance', 'Main entrance with moderate traffic', 1, -6.372500, 107.524167, 1.5, 8.0, 'TSP', 1, 1, 'GF-20240615-01', 4.52130, 4.62875, 1.15, 552.0, 215.4, 1, 'COMPLY', 'Vehicle traffic, material transport activities', '', 'Moderate traffic flow during sampling', '2024-06-15 17:05:00', 'analyst'),

-- Main Factory Entrance - PM10
(2, 1, 'TPM-1', 'Main Factory Entrance', 'Main entrance with moderate traffic', 1, -6.372500, 107.524167, 1.5, 8.0, 'PM10', 2, 2, 'QF-20240615-01', 4.48730, 4.54947, 1.15, 552.0, 112.7, 6, 'COMPLY', 'Vehicle traffic, material transport activities', '', 'PM10 fraction shows significant contribution', '2024-06-15 17:10:00', 'analyst'),

-- Production Area (Crusher Unit) - TSP
(3, 1, 'TPM-2', 'Production Area (Crusher Unit)', 'Area with crushing equipment and high dust generation', 1, -6.372778, 107.524444, 1.5, 8.0, 'TSP', 1, 1, 'GF-20240615-02', 4.51890, 4.67765, 1.15, 552.0, 287.6, 1, 'NOT_COMPLY', 'Crushing activities, material handling, conveyor transfer points', 'Install dust suppression systems, implement proper enclosure', 'Visible dust emissions during crusher operation', '2024-06-15 17:15:00', 'analyst'),

-- Production Area (Crusher Unit) - PM10
(4, 1, 'TPM-2', 'Production Area (Crusher Unit)', 'Area with crushing equipment and high dust generation', 1, -6.372778, 107.524444, 1.5, 8.0, 'PM10', 2, 2, 'QF-20240615-02', 4.49120, 4.57748, 1.15, 552.0, 156.3, 6, 'NOT_COMPLY', 'Crushing activities, material handling, conveyor transfer points', 'Install dust collection systems with adequate filtration', 'High respirable fraction indicates health concerns', '2024-06-15 17:20:00', 'analyst'),

-- Office Building - TSP
(5, 1, 'TPM-3', 'Office Building', 'Administrative office area', 3, -6.372944, 107.525000, 1.5, 8.0, 'TSP', 1, 1, 'GF-20240615-03', 4.52670, 4.57255, 1.15, 552.0, 83.1, 3, 'COMPLY', 'Limited sources, mainly from HVAC system', '', 'Indoor air quality with minimal outdoor influence', '2024-06-15 17:25:00', 'analyst'),

-- Office Building - PM10
(6, 1, 'TPM-3', 'Office Building', 'Administrative office area', 3, -6.372944, 107.525000, 1.5, 8.0, 'PM10', 2, 2, 'QF-20240615-03', 4.48950, 4.51467, 1.15, 552.0, 45.6, 8, 'COMPLY', 'Limited sources, mainly from HVAC system', '', 'Low PM10 levels indicate good air filtration', '2024-06-15 17:30:00', 'analyst'),

-- Eastern Facility Boundary - TSP
(7, 1, 'TPM-4', 'Eastern Facility Boundary', 'Eastern boundary of the facility', 1, -6.373111, 107.526111, 1.5, 8.0, 'TSP', 1, 1, 'GF-20240615-04', 4.53010, 4.62778, 1.15, 552.0, 176.8, 1, 'COMPLY', 'General facility operations, stockpiles, road dust', '', 'Unpaved areas contributing to dust levels', '2024-06-15 17:35:00', 'analyst'),

-- Eastern Facility Boundary - PM10
(8, 1, 'TPM-4', 'Eastern Facility Boundary', 'Eastern boundary of the facility', 1, -6.373111, 107.526111, 1.5, 8.0, 'PM10', 2, 2, 'QF-20240615-04', 4.49070, 4.53997, 1.15, 552.0, 89.3, 6, 'COMPLY', 'General facility operations, stockpiles, road dust', '', 'PM10 levels below industrial standard', '2024-06-15 17:40:00', 'analyst'),

-- Material Storage Area - TSP
(9, 1, 'TPM-5', 'Material Storage Area', 'Raw material storage with open piles', 1, -6.373278, 107.524722, 1.5, 8.0, 'TSP', 1, 1, 'GF-20240615-05', 4.52230, 4.67025, 1.15, 552.0, 268.2, 1, 'NOT_COMPLY', 'Raw material stockpiles, loading/unloading operations', 'Cover stockpiles, implement water spraying', 'Wind-blown dust from uncovered material piles', '2024-06-15 17:45:00', 'analyst'),

-- Material Storage Area - PM10
(10, 1, 'TPM-5', 'Material Storage Area', 'Raw material storage with open piles', 1, -6.373278, 107.524722, 1.5, 8.0, 'PM10', 2, 2, 'QF-20240615-05', 4.48870, 4.56737, 1.15, 552.0, 142.5, 6, 'COMPLY', 'Raw material stockpiles, loading/unloading operations', 'Minimize material handling during high winds', 'PM10 fraction still within limits but elevated', '2024-06-15 17:50:00', 'analyst'),

-- Nearest Residential Area - TSP
(11, 1, 'TPM-6', 'Nearest Residential Area', 'Residential area near the industrial facility', 2, -6.374167, 107.527222, 1.5, 8.0, 'TSP', 1, 1, 'GF-20240615-06', 4.52450, 4.57884, 1.15, 552.0, 98.5, 2, 'NOT_COMPLY', 'Industrial facility emissions, community activities', 'Establish vegetation buffer, improve dust control', 'Residential area ~500m from facility boundary', '2024-06-15 17:55:00', 'analyst'),

-- Nearest Residential Area - PM10
(12, 1, 'TPM-6', 'Nearest Residential Area', 'Residential area near the industrial facility', 2, -6.374167, 107.527222, 1.5, 8.0, 'PM10', 2, 2, 'QF-20240615-06', 4.49210, 4.52103, 1.15, 552.0, 52.4, 7, 'COMPLY', 'Industrial facility emissions, community activities', '', 'PM10 levels within residential standard', '2024-06-15 18:00:00', 'analyst');

-- Sample Dust Control Recommendations
INSERT INTO trx_dust_control_recommendations (recommendation_id, measurement_detail_id, control_type, control_description, priority, estimated_cost, estimated_reduction, implementation_status, input_date, input_user)
VALUES 
-- Recommendations for Production Area (Crusher Unit)
(1, 3, 'Engineering Control', 'Installation of water spray systems at crusher loading and discharge points', 1, 45000000.00, 30.0, 'PLANNED', '2024-06-20 09:00:00', 'analyst'),
(2, 3, 'Engineering Control', 'Enclosure of crushing and screening equipment with appropriate dust collection', 1, 120000000.00, 50.0, 'PLANNED', '2024-06-20 09:05:00', 'analyst'),
(3, 3, 'Administrative Control', 'Implement preventive maintenance program for dust collection systems', 2, 0.00, 15.0, 'PLANNED', '2024-06-20 09:10:00', 'analyst'),
(4, 4, 'PPE', 'Provision of N95 respirators for workers in crushing area', 1, 15000000.00, 0.0, 'PLANNED', '2024-06-20 09:15:00', 'analyst'),

-- Recommendations for Material Storage Area
(5, 9, 'Engineering Control', 'Installation of wind barriers around material storage area', 1, 75000000.00, 25.0, 'PLANNED', '2024-06-20 09:20:00', 'analyst'),
(6, 9, 'Engineering Control', 'Coverage of stockpiles with tarpaulins or other appropriate materials', 1, 30000000.00, 35.0, 'PLANNED', '2024-06-20 09:25:00', 'analyst'),
(7, 9, 'Engineering Control', 'Installation of fixed water sprinkler system for storage area', 2, 60000000.00, 30.0, 'PLANNED', '2024-06-20 09:30:00', 'analyst'),
(8, 9, 'Administrative Control', 'Implement SOP for minimizing drop heights during material transfer', 1, 5000000.00, 10.0, 'PLANNED', '2024-06-20 09:35:00', 'analyst'),

-- Recommendations for Nearest Residential Area
(9, 11, 'Engineering Control', 'Establishment of vegetation buffer zone between facility and residential areas', 1, 90000000.00, 15.0, 'PLANNED', '2024-06-20 09:40:00', 'analyst'),
(10, 11, 'Engineering Control', 'Paving of unpaved roads near residential boundary', 2, 120000000.00, 20.0, 'PLANNED', '2024-06-20 09:45:00', 'analyst'),
(11, 11, 'Administrative Control', 'Implementation of community notification system for high-dust activities', 1, 25000000.00, 0.0, 'PLANNED', '2024-06-20 09:50:00', 'analyst'),
(12, 11, 'Administrative Control', 'Schedule dust-generating activities based on wind direction and speed', 1, 0.00, 10.0, 'PLANNED', '2024-06-20 09:55:00', 'analyst'); 