|
@ -112,9 +112,9 @@ CREATE TABLE IF NOT EXISTS crafts ( |
|
|
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP |
|
|
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
INSERT INTO "crafts" ("name", "steps", "ores_id") VALUES ('测试工艺1', '[{"method":"upTray"},{"method":"downTray"},{"method":"addLiquid","params":{"tubeSolList":[{"tubeNum":15,"addLiquidList":[{"solId":15,"volume":20}]}]}},{"method":"moveToSol"},{"method":"moveToHeater"},{"method":"shaking","params":{"second":6}},{"method":"startHeating","params":{"temperature":200}},{"method":"stopHeating"},{"method":"takePhoto"},{"method":"delay","params":{"second":2}}]', 1); |
|
|
|
|
|
INSERT INTO "crafts" ("name", "steps", "ores_id") VALUES ('测试工艺2', '[{"method":"upTray"},{"method":"downTray"},{"method":"addLiquid","params":{"tubeSolList":[{"tubeNum":15,"addLiquidList":[{"solId":15,"volume":20}]}]}},{"method":"moveToSol"},{"method":"moveToHeater"},{"method":"shaking","params":{"second":6}},{"method":"startHeating","params":{"temperature":200}},{"method":"stopHeating"},{"method":"takePhoto"},{"method":"delay","params":{"second":2}}]', 1); |
|
|
|
|
|
INSERT INTO "crafts" ("name", "steps", "ores_id") VALUES ('测试工艺3', '[{"method":"upTray"},{"method":"downTray"},{"method":"addLiquid","params":{"tubeSolList":[{"tubeNum":15,"addLiquidList":[{"solId":15,"volume":20}]}]}},{"method":"moveToSol"},{"method":"moveToHeater"},{"method":"shaking","params":{"second":6}},{"method":"startHeating","params":{"temperature":200}},{"method":"stopHeating"},{"method":"takePhoto"},{"method":"delay","params":{"second":2}}]', 1); |
|
|
|
|
|
|
|
|
INSERT INTO "crafts" ("name", "steps", "ores_id") VALUES ('测试工艺1', '[{"method":"upTray"},{"method":"downTray"},{"method":"addLiquid","params":{"tubeSolList":[{"tubeNum":15,"addLiquidList":[{"solId":15,"volume":20}]}]}},{"method":"moveToSol"},{"method":"moveToHeat"},{"method":"shaking","params":{"second":6}},{"method":"startHeating","params":{"temperature":200}},{"method":"stopHeating"},{"method":"takePhoto"},{"method":"delay","params":{"second":2}}]', 1); |
|
|
|
|
|
INSERT INTO "crafts" ("name", "steps", "ores_id") VALUES ('测试工艺2', '[{"method":"upTray"},{"method":"downTray"},{"method":"addLiquid","params":{"tubeSolList":[{"tubeNum":15,"addLiquidList":[{"solId":15,"volume":20}]}]}},{"method":"moveToSol"},{"method":"moveToHeat"},{"method":"shaking","params":{"second":6}},{"method":"startHeating","params":{"temperature":200}},{"method":"stopHeating"},{"method":"takePhoto"},{"method":"delay","params":{"second":2}}]', 1); |
|
|
|
|
|
INSERT INTO "crafts" ("name", "steps", "ores_id") VALUES ('测试工艺3', '[{"method":"upTray"},{"method":"downTray"},{"method":"addLiquid","params":{"tubeSolList":[{"tubeNum":15,"addLiquidList":[{"solId":15,"volume":20}]}]}},{"method":"moveToSol"},{"method":"moveToHeat"},{"method":"shaking","params":{"second":6}},{"method":"startHeating","params":{"temperature":200}},{"method":"stopHeating"},{"method":"takePhoto"},{"method":"delay","params":{"second":2}}]', 1); |
|
|
|
|
|
|
|
|
-- 创建 tasks 实验 |
|
|
-- 创建 tasks 实验 |
|
|
CREATE TABLE IF NOT EXISTS tasks ( |
|
|
CREATE TABLE IF NOT EXISTS tasks ( |
|
|