|
|
@ -49,12 +49,12 @@ CREATE TABLE IF NOT EXISTS sys_settings ( |
|
|
|
INSERT INTO sys_settings (id, parent_id, name, code, value1, value2, value3, value4) |
|
|
|
VALUES |
|
|
|
(1, -1, '加热区域配置', 'heat_area', '坐标', '硬件代号', '温度', '工艺id' ), |
|
|
|
(2, 1, 'A1', 'heat_area_A1', '1,1,1', '11', '1', ''), |
|
|
|
(3, 1, 'A2', 'heat_area_A2', '2,2,2', '22', '2',''), |
|
|
|
(4, 1, 'A3', 'heat_area_A3', '3,3,3', '33', '3',''), |
|
|
|
(5, 1, 'A4', 'heat_area_A4', '4,4,4', '44', '4',''), |
|
|
|
(6, 1, 'A5', 'heat_area_A5', '5,5,5', '55', '5',''), |
|
|
|
(7, 1, 'A6', 'heat_area_A6', '6,6,6', '66', '6',''), |
|
|
|
(2, 1, 'A1', 'heat_area_A1', '1,1,1', 'hardware_1', '1', ''), |
|
|
|
(3, 1, 'A2', 'heat_area_A2', '2,2,2', 'hardware_2', '2',''), |
|
|
|
(4, 1, 'A3', 'heat_area_A3', '3,3,3', 'hardware_3', '3',''), |
|
|
|
(5, 1, 'A4', 'heat_area_A4', '4,4,4', 'hardware_4', '4',''), |
|
|
|
(6, 1, 'A5', 'heat_area_A5', '5,5,5', 'hardware_5', '5',''), |
|
|
|
(7, 1, 'A6', 'heat_area_A6', '6,6,6', 'hardware_6', '6',''), |
|
|
|
(8, -1, '加液区域配置', 'solution_area', '坐标', '硬件代号', '','' ), |
|
|
|
(9, 8, '加液区', 'solution_area_A7', '7,7,7', '77', '','' ), |
|
|
|
(10, -1, '拍子区域配置', 'lid_area', '坐标', '硬件代号', '' ,''), |
|
|
@ -139,15 +139,15 @@ CREATE TABLE IF NOT EXISTS container ( |
|
|
|
); |
|
|
|
INSERT INTO container (id, type, solution_id, pump_id, capacity_total, capacity_used) |
|
|
|
VALUES |
|
|
|
(1, 0, 1, '1', 100, 0), |
|
|
|
(2, 0, 2, '2', 100, 0), |
|
|
|
(3, 0, 3, '3', 100, 0), |
|
|
|
(4, 0, 4, '4', 100, 0), |
|
|
|
(5, 0, 5, '5', 100, 0), |
|
|
|
(6, 0, 6, '6', 100, 0), |
|
|
|
(7, 0, 7, '7', 100, 0), |
|
|
|
(8, 0, 3, '8', 100, 0), |
|
|
|
(9, 1, null, '9', 100, 0); |
|
|
|
(1, 0, 1, 'P001', 100, 0), |
|
|
|
(2, 0, 2, 'P002', 100, 0), |
|
|
|
(3, 0, 3, 'P003', 100, 0), |
|
|
|
(4, 0, 4, 'P004', 100, 0), |
|
|
|
(5, 0, 5, 'P005', 100, 0), |
|
|
|
(6, 0, 6, 'P006', 100, 0), |
|
|
|
(7, 0, 7, 'P007', 100, 0), |
|
|
|
(8, 0, 3, 'P008', 100, 0), |
|
|
|
(9, 1, null, 'P009', 100, 0); |
|
|
|
-- 创建 logs 日志 |
|
|
|
CREATE TABLE IF NOT EXISTS logs ( |
|
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT, |
|
|
|