-- Database Structure and Sample Data for Work Climate and Humidity Measurement -- Based on PMK RI No.2 Tahun 2023 -- ------------------------------------------------------------------------------ -- Master Tables - Data Referensi -- ------------------------------------------------------------------------------ -- Master Regulasi CREATE TABLE IF NOT EXISTS master_regulations ( MasterRegulationID INT PRIMARY KEY, MasterRegulationCode VARCHAR(50) NOT NULL, MasterRegulationName VARCHAR(255) NOT NULL, MasterRegulationIssuer VARCHAR(100) NOT NULL, MasterRegulationIssueDate DATE NOT NULL, MasterRegulationEffectiveDate DATE NOT NULL, MasterRegulationDescription TEXT, MasterRegulationFilePath VARCHAR(255), MasterRegulationIsActive BOOLEAN DEFAULT TRUE, MasterRegulationCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, MasterRegulationCreatedUserID INT, MasterRegulationUpdatedAt DATETIME, MasterRegulationUpdatedUserID INT, MasterRegulationDeletedAt DATETIME, MasterRegulationDeletedUserID INT ); -- Master Parameter Iklim Kerja CREATE TABLE IF NOT EXISTS master_climate_parameters ( MasterClimateParameterID INT PRIMARY KEY, MasterClimateParameterCode VARCHAR(20) NOT NULL, MasterClimateParameterName VARCHAR(100) NOT NULL, MasterClimateParameterUnit VARCHAR(20), MasterClimateParameterMethod VARCHAR(100), MasterClimateParameterPrice DECIMAL(10,2), MasterClimateParameterIsAccredited BOOLEAN DEFAULT FALSE, MasterClimateParameterRemarks TEXT, MasterClimateParameterIsActive BOOLEAN DEFAULT TRUE, MasterClimateParameterCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, MasterClimateParameterCreatedUserID INT, MasterClimateParameterUpdatedAt DATETIME, MasterClimateParameterUpdatedUserID INT, MasterClimateParameterDeletedAt DATETIME, MasterClimateParameterDeletedUserID INT ); -- Master Baku Mutu Iklim Kerja CREATE TABLE IF NOT EXISTS master_climate_standards ( MasterClimateStandardID INT PRIMARY KEY, MasterClimateParameterID INT NOT NULL, MasterRegulationID INT NOT NULL, MasterClimateStandardRoomType VARCHAR(100) NOT NULL, MasterClimateStandardMinValue DECIMAL(6,2), MasterClimateStandardMaxValue DECIMAL(6,2), MasterClimateStandardRemarks TEXT, MasterClimateStandardIsActive BOOLEAN DEFAULT TRUE, MasterClimateStandardCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, MasterClimateStandardCreatedUserID INT, MasterClimateStandardUpdatedAt DATETIME, MasterClimateStandardUpdatedUserID INT, MasterClimateStandardDeletedAt DATETIME, MasterClimateStandardDeletedUserID INT ); -- Master Metode Sampling Iklim Kerja CREATE TABLE IF NOT EXISTS master_climate_sampling_methods ( MasterClimateSamplingMethodID INT PRIMARY KEY, MasterClimateSamplingMethodCode VARCHAR(50) NOT NULL, MasterClimateSamplingMethodName VARCHAR(255) NOT NULL, MasterClimateSamplingMethodDescription TEXT, MasterClimateSamplingMethodParameterType VARCHAR(100), MasterClimateSamplingMethodIsActive BOOLEAN DEFAULT TRUE, MasterClimateSamplingMethodCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, MasterClimateSamplingMethodCreatedUserID INT, MasterClimateSamplingMethodUpdatedAt DATETIME, MasterClimateSamplingMethodUpdatedUserID INT, MasterClimateSamplingMethodDeletedAt DATETIME, MasterClimateSamplingMethodDeletedUserID INT ); -- Master Peralatan Pengukuran Iklim Kerja CREATE TABLE IF NOT EXISTS master_climate_equipment ( MasterClimateEquipmentID INT PRIMARY KEY, MasterClimateEquipmentCode VARCHAR(20) NOT NULL, MasterClimateEquipmentName VARCHAR(100) NOT NULL, MasterClimateEquipmentBrand VARCHAR(100), MasterClimateEquipmentModel VARCHAR(100), MasterClimateEquipmentSerialNumber VARCHAR(100), MasterClimateEquipmentSpecification TEXT, MasterClimateEquipmentLastCalibrationDate DATE, MasterClimateEquipmentNextCalibrationDate DATE, MasterClimateEquipmentCalibrationStatus VARCHAR(20), MasterClimateEquipmentCertificatePath VARCHAR(255), MasterClimateEquipmentIsActive BOOLEAN DEFAULT TRUE, MasterClimateEquipmentCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, MasterClimateEquipmentCreatedUserID INT, MasterClimateEquipmentUpdatedAt DATETIME, MasterClimateEquipmentUpdatedUserID INT, MasterClimateEquipmentDeletedAt DATETIME, MasterClimateEquipmentDeletedUserID INT ); -- ------------------------------------------------------------------------------ -- Transaction Tables - Data Transaksi -- ------------------------------------------------------------------------------ -- Sampling Plan Pengukuran Iklim Kerja CREATE TABLE IF NOT EXISTS climate_sampling_plans ( ClimateSamplingPlanID INT PRIMARY KEY, ClimateSamplingPlanCode VARCHAR(50) NOT NULL, ClimateSamplingPlanProjectName VARCHAR(255) NOT NULL, CustomerID INT NOT NULL, ClimateSamplingPlanDate DATE NOT NULL, ClimateSamplingPlanLocation TEXT NOT NULL, ClimateSamplingPlanPointCount INT, ClimateSamplingPlanApprovalStatus VARCHAR(20) DEFAULT 'DRAFT', ClimateSamplingPlanRemarks TEXT, ClimateSamplingPlanCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, ClimateSamplingPlanCreatedUserID INT, ClimateSamplingPlanUpdatedAt DATETIME, ClimateSamplingPlanUpdatedUserID INT, ClimateSamplingPlanDeletedAt DATETIME, ClimateSamplingPlanDeletedUserID INT ); -- Requisisi Peralatan untuk Pengukuran Iklim Kerja CREATE TABLE IF NOT EXISTS climate_equipment_requisitions ( ClimateEquipmentRequisitionID INT PRIMARY KEY, ClimateSamplingPlanID INT NOT NULL, ClimateEquipmentRequisitionDate DATE NOT NULL, ClimateEquipmentRequisitionNeedDate DATE NOT NULL, ClimateEquipmentRequisitionStatus VARCHAR(20) DEFAULT 'DRAFT', ClimateEquipmentRequisitionRemarks TEXT, ClimateEquipmentRequisitionCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, ClimateEquipmentRequisitionCreatedUserID INT, ClimateEquipmentRequisitionUpdatedAt DATETIME, ClimateEquipmentRequisitionUpdatedUserID INT, ClimateEquipmentRequisitionDeletedAt DATETIME, ClimateEquipmentRequisitionDeletedUserID INT ); -- Detail Requisisi Peralatan CREATE TABLE IF NOT EXISTS climate_equipment_requisition_details ( ClimateEquipmentRequisitionDetailID INT PRIMARY KEY, ClimateEquipmentRequisitionID INT NOT NULL, MasterClimateEquipmentID INT NOT NULL, ClimateEquipmentRequisitionDetailQuantity INT NOT NULL, ClimateEquipmentRequisitionDetailApprovalStatus VARCHAR(20) DEFAULT 'PENDING', ClimateEquipmentRequisitionDetailRemarks TEXT, ClimateEquipmentRequisitionDetailCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, ClimateEquipmentRequisitionDetailCreatedUserID INT, ClimateEquipmentRequisitionDetailUpdatedAt DATETIME, ClimateEquipmentRequisitionDetailUpdatedUserID INT, ClimateEquipmentRequisitionDetailDeletedAt DATETIME, ClimateEquipmentRequisitionDetailDeletedUserID INT ); -- Hasil Pengukuran Iklim Kerja CREATE TABLE IF NOT EXISTS climate_measurement_results ( ClimateMeasurementResultID INT PRIMARY KEY, ClimateSamplingPlanID INT NOT NULL, ClimateMeasurementResultCode VARCHAR(50) NOT NULL, ClimateMeasurementResultDate DATE NOT NULL, ClimateMeasurementResultStartTime TIME, ClimateMeasurementResultEndTime TIME, ClimateMeasurementResultWeather VARCHAR(100), ClimateMeasurementResultOfficer VARCHAR(100), ClimateMeasurementResultStatus VARCHAR(20) DEFAULT 'DRAFT', ClimateMeasurementResultRemarks TEXT, ClimateMeasurementResultCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, ClimateMeasurementResultCreatedUserID INT, ClimateMeasurementResultUpdatedAt DATETIME, ClimateMeasurementResultUpdatedUserID INT, ClimateMeasurementResultDeletedAt DATETIME, ClimateMeasurementResultDeletedUserID INT ); -- Detail Hasil Pengukuran Iklim Kerja CREATE TABLE IF NOT EXISTS climate_measurement_result_details ( ClimateMeasurementResultDetailID INT PRIMARY KEY, ClimateMeasurementResultID INT NOT NULL, ClimateMeasurementResultDetailPointCode VARCHAR(20) NOT NULL, ClimateMeasurementResultDetailLocation VARCHAR(255) NOT NULL, ClimateMeasurementResultDetailRoomType VARCHAR(100) NOT NULL, MasterClimateParameterID INT NOT NULL, ClimateMeasurementResultDetailValue DECIMAL(6,2) NOT NULL, ClimateMeasurementResultDetailMinStandard DECIMAL(6,2), ClimateMeasurementResultDetailMaxStandard DECIMAL(6,2), MasterClimateSamplingMethodID INT NOT NULL, MasterClimateEquipmentID INT NOT NULL, ClimateMeasurementResultDetailComplianceStatus VARCHAR(20), ClimateMeasurementResultDetailRemarks TEXT, ClimateMeasurementResultDetailCreatedAt DATETIME DEFAULT CURRENT_TIMESTAMP, ClimateMeasurementResultDetailCreatedUserID INT, ClimateMeasurementResultDetailUpdatedAt DATETIME, ClimateMeasurementResultDetailUpdatedUserID INT, ClimateMeasurementResultDetailDeletedAt DATETIME, ClimateMeasurementResultDetailDeletedUserID INT ); -- ------------------------------------------------------------------------------ -- Sample Data Insertion -- ------------------------------------------------------------------------------ -- Insert Data Master Regulasi INSERT INTO master_regulations (MasterRegulationID, MasterRegulationCode, MasterRegulationName, MasterRegulationIssuer, MasterRegulationIssueDate, MasterRegulationEffectiveDate, MasterRegulationDescription, MasterRegulationFilePath, MasterRegulationIsActive, MasterRegulationCreatedAt, MasterRegulationCreatedUserID) VALUES (1, 'PMK-02-2023', 'Peraturan Menteri Kesehatan Republik Indonesia Nomor 2 Tahun 2023', 'Kementerian Kesehatan RI', '2023-01-15', '2023-02-01', 'Standar Baku Mutu Kesehatan Lingkungan untuk Media Air, Udara, Tanah, Pangan, Sarana dan Bangunan', '/dokumen/regulasi/PMK_02_2023.pdf', TRUE, '2023-05-10 10:30:00', 1), (2, 'PERMENAKER-05-2018', 'Peraturan Menteri Ketenagakerjaan Republik Indonesia Nomor 5 Tahun 2018', 'Kementerian Ketenagakerjaan RI', '2018-04-17', '2018-05-01', 'Keselamatan dan Kesehatan Kerja Lingkungan Kerja', '/dokumen/regulasi/PERMENAKER_05_2018.pdf', TRUE, '2018-05-15 10:30:00', 1); -- Insert Data Master Parameter Iklim Kerja INSERT INTO master_climate_parameters (MasterClimateParameterID, MasterClimateParameterCode, MasterClimateParameterName, MasterClimateParameterUnit, MasterClimateParameterMethod, MasterClimateParameterPrice, MasterClimateParameterIsAccredited, MasterClimateParameterRemarks, MasterClimateParameterIsActive, MasterClimateParameterCreatedAt, MasterClimateParameterCreatedUserID) VALUES (1, 'SUHU-01', 'Suhu Udara', '°C', 'SNI 7062:2019', 50000.00, TRUE, 'Pengukuran suhu udara dalam ruangan', TRUE, '2023-05-10 10:30:00', 1), (2, 'KELEM-01', 'Kelembaban Udara', '%RH', 'SNI 7062:2019', 50000.00, TRUE, 'Pengukuran kelembaban relatif udara dalam ruangan', TRUE, '2023-05-10 10:30:00', 1), (3, 'KEC-UDARA-01', 'Kecepatan Aliran Udara', 'm/s', 'SNI 7062:2019', 60000.00, TRUE, 'Pengukuran kecepatan aliran udara dalam ruangan', TRUE, '2023-05-10 10:30:00', 1), (4, 'ISBB-01', 'Indeks Suhu Basah dan Bola (ISBB)', '°C', 'SNI 7062:2019', 85000.00, TRUE, 'Pengukuran Indeks Suhu Basah dan Bola untuk analisis beban kerja', TRUE, '2023-05-10 10:30:00', 1); -- Insert Data Master Baku Mutu Iklim Kerja INSERT INTO master_climate_standards (MasterClimateStandardID, MasterClimateParameterID, MasterRegulationID, MasterClimateStandardRoomType, MasterClimateStandardMinValue, MasterClimateStandardMaxValue, MasterClimateStandardRemarks, MasterClimateStandardIsActive, MasterClimateStandardCreatedAt, MasterClimateStandardCreatedUserID) VALUES -- Suhu Udara (1, 1, 1, 'Ruang Administrasi/Kantor', 20.0, 25.0, 'Ruang kerja administrasi dan kantor', TRUE, '2023-05-10 10:30:00', 1), (2, 1, 1, 'Ruang Produksi', 23.0, 26.0, 'Area produksi dengan aktivitas fisik ringan sampai sedang', TRUE, '2023-05-10 10:30:00', 1), (3, 1, 1, 'Ruang Istirahat', 22.0, 28.0, 'Area istirahat, kantin, dan ruang tunggu', TRUE, '2023-05-10 10:30:00', 1), (4, 1, 1, 'Ruang Khusus', 18.0, 24.0, 'Ruang server, laboratorium, dan ruang khusus lainnya', TRUE, '2023-05-10 10:30:00', 1), -- Kelembaban Udara (5, 2, 1, 'Ruang Administrasi/Kantor', 40.0, 60.0, 'Ruang kerja administrasi dan kantor', TRUE, '2023-05-10 10:30:00', 1), (6, 2, 1, 'Ruang Produksi', 40.0, 60.0, 'Area produksi dengan aktivitas fisik ringan sampai sedang', TRUE, '2023-05-10 10:30:00', 1), (7, 2, 1, 'Ruang Istirahat', 40.0, 60.0, 'Area istirahat, kantin, dan ruang tunggu', TRUE, '2023-05-10 10:30:00', 1), (8, 2, 1, 'Ruang Khusus', 40.0, 60.0, 'Ruang server, laboratorium, dan ruang khusus lainnya', TRUE, '2023-05-10 10:30:00', 1), -- Kecepatan Aliran Udara (9, 3, 1, 'Ruang Administrasi/Kantor', 0.1, 0.2, 'Ruang kerja administrasi dan kantor', TRUE, '2023-05-10 10:30:00', 1), (10, 3, 1, 'Ruang Produksi', 0.1, 0.3, 'Area produksi dengan aktivitas fisik ringan sampai sedang', TRUE, '2023-05-10 10:30:00', 1), (11, 3, 1, 'Ruang Istirahat', 0.1, 0.25, 'Area istirahat, kantin, dan ruang tunggu', TRUE, '2023-05-10 10:30:00', 1), (12, 3, 1, 'Ruang Khusus', 0.1, 0.3, 'Ruang server, laboratorium, dan ruang khusus lainnya', TRUE, '2023-05-10 10:30:00', 1), -- ISBB (Indeks Suhu Basah dan Bola) (13, 4, 2, 'Beban Kerja Ringan', NULL, 30.0, 'Alokasi istirahat 75% kerja, 25% istirahat', TRUE, '2023-05-10 10:30:00', 1), (14, 4, 2, 'Beban Kerja Sedang', NULL, 28.0, 'Alokasi istirahat 75% kerja, 25% istirahat', TRUE, '2023-05-10 10:30:00', 1), (15, 4, 2, 'Beban Kerja Berat', NULL, 25.0, 'Alokasi istirahat 75% kerja, 25% istirahat', TRUE, '2023-05-10 10:30:00', 1); -- Insert Data Master Metode Sampling Iklim Kerja INSERT INTO master_climate_sampling_methods (MasterClimateSamplingMethodID, MasterClimateSamplingMethodCode, MasterClimateSamplingMethodName, MasterClimateSamplingMethodDescription, MasterClimateSamplingMethodParameterType, MasterClimateSamplingMethodIsActive, MasterClimateSamplingMethodCreatedAt, MasterClimateSamplingMethodCreatedUserID) VALUES (1, 'SNI-7062-2019-SUHU', 'SNI 7062:2019 - Pengukuran Suhu Udara', 'Metode standar pengukuran suhu udara menggunakan termometer ruangan', 'Suhu Udara', TRUE, '2023-05-10 10:30:00', 1), (2, 'SNI-7062-2019-KELEMBABAN', 'SNI 7062:2019 - Pengukuran Kelembaban Udara', 'Metode standar pengukuran kelembaban relatif udara menggunakan hygrometer', 'Kelembaban Udara', TRUE, '2023-05-10 10:30:00', 1), (3, 'SNI-7062-2019-ANEMO', 'SNI 7062:2019 - Pengukuran Kecepatan Aliran Udara', 'Metode standar pengukuran kecepatan aliran udara menggunakan anemometer', 'Kecepatan Aliran Udara', TRUE, '2023-05-10 10:30:00', 1), (4, 'SNI-7062-2019-ISBB', 'SNI 7062:2019 - Pengukuran ISBB', 'Metode standar pengukuran Indeks Suhu Basah dan Bola menggunakan WBGT meter', 'ISBB', TRUE, '2023-05-10 10:30:00', 1); -- Insert Data Master Peralatan Pengukuran Iklim Kerja INSERT INTO master_climate_equipment (MasterClimateEquipmentID, MasterClimateEquipmentCode, MasterClimateEquipmentName, MasterClimateEquipmentBrand, MasterClimateEquipmentModel, MasterClimateEquipmentSerialNumber, MasterClimateEquipmentSpecification, MasterClimateEquipmentLastCalibrationDate, MasterClimateEquipmentNextCalibrationDate, MasterClimateEquipmentCalibrationStatus, MasterClimateEquipmentCertificatePath, MasterClimateEquipmentIsActive, MasterClimateEquipmentCreatedAt, MasterClimateEquipmentCreatedUserID) VALUES (1, 'THERMO-01', 'Termohigrometer Digital', 'Lutron', 'PHB-318', 'LT12345678', 'Range suhu: -20 - 60°C, Range kelembaban: 10 - 95% RH, Resolusi: 0.1°C / 0.1% RH', '2023-05-10', '2024-05-10', 'VALID', '/dokumen/kalibrasi/thermo_lutron_2023.pdf', TRUE, '2023-05-10 10:30:00', 1), (2, 'THERMO-02', 'Termohigrometer Digital', 'Extech', 'RHT50', 'EX87654321', 'Range suhu: -30 - 70°C, Range kelembaban: 0 - 99% RH, Resolusi: 0.1°C / 0.1% RH', '2023-08-15', '2024-08-15', 'VALID', '/dokumen/kalibrasi/thermo_extech_2023.pdf', TRUE, '2023-08-15 10:30:00', 1), (3, 'ANEMO-01', 'Anemometer Digital', 'Lutron', 'AM-4214SD', 'LA23456789', 'Range kecepatan udara: 0.2 - 20.0 m/s, Resolusi: 0.01 m/s', '2023-03-20', '2024-03-20', 'VALID', '/dokumen/kalibrasi/anemo_lutron_2023.pdf', TRUE, '2023-03-20 10:30:00', 1), (4, 'WBGT-01', 'Wet Bulb Globe Temperature Meter', 'Extech', 'HT30', 'EX55667788', 'Range WBGT: 0 - 50°C, Range TA: 0 - 50°C, Range TG: 0 - 80°C, Range RH: 0 - 100%', '2023-06-05', '2024-06-05', 'VALID', '/dokumen/kalibrasi/wbgt_extech_2023.pdf', TRUE, '2023-06-05 10:30:00', 1), (5, 'THERMO-03', 'Termohigrometer Ruangan', 'Testo', '608-H1', 'TS12131415', 'Range suhu: -10 - 70°C, Range kelembaban: 10 - 98% RH, Akurasi: ±0.5°C / ±3% RH', '2023-07-22', '2024-07-22', 'VALID', '/dokumen/kalibrasi/thermo_testo_2023.pdf', TRUE, '2023-07-22 10:30:00', 1); -- ----------------------------------------------------------------------------- -- Insert Contoh Data Transaksi -- ----------------------------------------------------------------------------- -- Contoh Data Sampling Plan Pengukuran Iklim Kerja INSERT INTO climate_sampling_plans (ClimateSamplingPlanID, ClimateSamplingPlanCode, ClimateSamplingPlanProjectName, CustomerID, ClimateSamplingPlanDate, ClimateSamplingPlanLocation, ClimateSamplingPlanPointCount, ClimateSamplingPlanApprovalStatus, ClimateSamplingPlanRemarks, ClimateSamplingPlanCreatedAt, ClimateSamplingPlanCreatedUserID) VALUES (1, 'SP-IK-2024-001', 'Monitoring Iklim Kerja Semester I 2024', 101, '2024-04-25', 'PT. Indonesia Manufacturing Industry', 5, 'APPROVED', 'Monitoring rutin semester I tahun 2024 sesuai program K3', '2024-04-10 09:15:00', 1); -- Contoh Data Requisisi Peralatan untuk Pengukuran Iklim Kerja INSERT INTO climate_equipment_requisitions (ClimateEquipmentRequisitionID, ClimateSamplingPlanID, ClimateEquipmentRequisitionDate, ClimateEquipmentRequisitionNeedDate, ClimateEquipmentRequisitionStatus, ClimateEquipmentRequisitionRemarks, ClimateEquipmentRequisitionCreatedAt, ClimateEquipmentRequisitionCreatedUserID) VALUES (1, 1, '2024-04-15', '2024-04-25', 'APPROVED', 'Requisisi peralatan untuk monitoring iklim kerja PT. Indonesia Manufacturing Industry', '2024-04-15 10:30:00', 1); -- Contoh Data Detail Requisisi Peralatan INSERT INTO climate_equipment_requisition_details (ClimateEquipmentRequisitionDetailID, ClimateEquipmentRequisitionID, MasterClimateEquipmentID, ClimateEquipmentRequisitionDetailQuantity, ClimateEquipmentRequisitionDetailApprovalStatus, ClimateEquipmentRequisitionDetailRemarks, ClimateEquipmentRequisitionDetailCreatedAt, ClimateEquipmentRequisitionDetailCreatedUserID) VALUES (1, 1, 1, 1, 'APPROVED', 'Termohigrometer Digital Lutron untuk pengukuran suhu dan kelembaban', '2024-04-15 10:31:00', 1), (2, 1, 3, 1, 'APPROVED', 'Anemometer Digital Lutron untuk pengukuran kecepatan aliran udara', '2024-04-15 10:32:00', 1); -- Contoh Data Hasil Pengukuran Iklim Kerja INSERT INTO climate_measurement_results (ClimateMeasurementResultID, ClimateSamplingPlanID, ClimateMeasurementResultCode, ClimateMeasurementResultDate, ClimateMeasurementResultStartTime, ClimateMeasurementResultEndTime, ClimateMeasurementResultWeather, ClimateMeasurementResultOfficer, ClimateMeasurementResultStatus, ClimateMeasurementResultRemarks, ClimateMeasurementResultCreatedAt, ClimateMeasurementResultCreatedUserID) VALUES (1, 1, 'LHU/IKLIM/04/2024/001', '2024-04-25', '09:00:00', '11:15:00', 'Cuaca cerah, suhu luar 31°C', 'Deni Hermawan', 'FINAL', 'Pengukuran berjalan lancar sesuai dengan rencana', '2024-04-25 15:30:00', 1); -- Contoh Data Detail Hasil Pengukuran Iklim Kerja INSERT INTO climate_measurement_result_details (ClimateMeasurementResultDetailID, ClimateMeasurementResultID, ClimateMeasurementResultDetailPointCode, ClimateMeasurementResultDetailLocation, ClimateMeasurementResultDetailRoomType, MasterClimateParameterID, ClimateMeasurementResultDetailValue, ClimateMeasurementResultDetailMinStandard, ClimateMeasurementResultDetailMaxStandard, MasterClimateSamplingMethodID, MasterClimateEquipmentID, ClimateMeasurementResultDetailComplianceStatus, ClimateMeasurementResultDetailRemarks, ClimateMeasurementResultDetailCreatedAt, ClimateMeasurementResultDetailCreatedUserID) VALUES -- Main Meeting Room (1, 1, 'T1', 'Main Meeting Room', 'Ruang Administrasi/Kantor', 1, 21.0, 20.0, 25.0, 1, 1, 'COMPLY', '', '2024-04-25 15:35:00', 1), (2, 1, 'T1', 'Main Meeting Room', 'Ruang Administrasi/Kantor', 2, 50.5, 40.0, 60.0, 2, 1, 'COMPLY', '', '2024-04-25 15:35:00', 1), (3, 1, 'T1', 'Main Meeting Room', 'Ruang Administrasi/Kantor', 3, 0.15, 0.1, 0.2, 3, 3, 'COMPLY', '', '2024-04-25 15:35:00', 1), -- HR Work Area (4, 1, 'T2', 'HR Work Area', 'Ruang Administrasi/Kantor', 1, 22.0, 20.0, 25.0, 1, 1, 'COMPLY', '', '2024-04-25 15:45:00', 1), (5, 1, 'T2', 'HR Work Area', 'Ruang Administrasi/Kantor', 2, 52.0, 40.0, 60.0, 2, 1, 'COMPLY', '', '2024-04-25 15:45:00', 1), (6, 1, 'T2', 'HR Work Area', 'Ruang Administrasi/Kantor', 3, 0.12, 0.1, 0.2, 3, 3, 'COMPLY', '', '2024-04-25 15:45:00', 1), -- Server Room (7, 1, 'T3', 'Server Room', 'Ruang Khusus', 1, 19.0, 18.0, 24.0, 1, 1, 'COMPLY', '', '2024-04-25 15:55:00', 1), (8, 1, 'T3', 'Server Room', 'Ruang Khusus', 2, 45.0, 40.0, 60.0, 2, 1, 'COMPLY', '', '2024-04-25 15:55:00', 1), (9, 1, 'T3', 'Server Room', 'Ruang Khusus', 3, 0.25, 0.1, 0.3, 3, 3, 'COMPLY', '', '2024-04-25 15:55:00', 1), -- Production Line A (10, 1, 'T4', 'Production Line A', 'Ruang Produksi', 1, 26.0, 23.0, 26.0, 1, 1, 'COMPLY', '', '2024-04-25 16:05:00', 1), (11, 1, 'T4', 'Production Line A', 'Ruang Produksi', 2, 65.0, 40.0, 60.0, 2, 1, 'NOT_COMPLY', 'Kelembaban melebihi baku mutu, perlu perbaikan sistem ventilasi', '2024-04-25 16:05:00', 1), (12, 1, 'T4', 'Production Line A', 'Ruang Produksi', 3, 0.30, 0.1, 0.3, 3, 3, 'COMPLY', '', '2024-04-25 16:05:00', 1), -- Canteen Area (13, 1, 'T5', 'Canteen Area', 'Ruang Istirahat', 1, 24.0, 22.0, 28.0, 1, 1, 'COMPLY', '', '2024-04-25 16:15:00', 1), (14, 1, 'T5', 'Canteen Area', 'Ruang Istirahat', 2, 55.0, 40.0, 60.0, 2, 1, 'COMPLY', '', '2024-04-25 16:15:00', 1), (15, 1, 'T5', 'Canteen Area', 'Ruang Istirahat', 3, 0.20, 0.1, 0.25, 3, 3, 'COMPLY', '', '2024-04-25 16:15:00', 1);