diff --git a/src/libs/utils.ts b/src/libs/utils.ts
index b099f6c..502c2f8 100644
--- a/src/libs/utils.ts
+++ b/src/libs/utils.ts
@@ -56,6 +56,8 @@ export const cmdNameMap = {
filled_solution_start: '开始预充',
filled_solution_stop: '停止预充',
debug_show_smog: '展示烟雾',
+ debug_vacuum_valve_open: '开启真空泵阀门',
+ debug_vacuum_valve_close: '关闭真空泵阀门',
}
export const generateColors = (count: number): string[] => {
diff --git a/src/views/debug/index.vue b/src/views/debug/index.vue
index 4a3ec28..bc3247c 100644
--- a/src/views/debug/index.vue
+++ b/src/views/debug/index.vue
@@ -75,6 +75,30 @@ const debug_pallet_elevator_reset = async () => {
await debugStore.sendControl(params)
}
+const debug_vacuum_valve_open = async () => {
+ currentCommandId = Date.now().toString()
+ const params = {
+ commandId: currentCommandId,
+ command: 'debug_vacuum_valve_open',
+ params: {
+ heatId: debugStore.formData.heatArea.index,
+ },
+ }
+ await debugStore.sendControl(params)
+}
+
+const debug_vacuum_valve_close = async () => {
+ currentCommandId = Date.now().toString()
+ const params = {
+ commandId: currentCommandId,
+ command: 'debug_vacuum_valve_close',
+ params: {
+ heatId: debugStore.formData.heatArea.index,
+ },
+ }
+ await debugStore.sendControl(params)
+}
+
const debug_heater_start = async () => {
currentCommandId = Date.now().toString()
const params = {
@@ -1174,79 +1198,84 @@ const savePositionVisible = ref(false)
-