From 5a61ba7cb507cc1f7f131406ab8d5730744e2b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=A2=A6=E8=BF=9C?= <1063331231@qq.com> Date: Tue, 15 Jul 2025 11:07:23 +0800 Subject: [PATCH] =?UTF-8?q?map=E4=B8=AD=E5=A2=9E=E5=8A=A0=E5=96=B7?= =?UTF-8?q?=E5=98=B4=E5=92=8C=E8=BD=BD=E7=8E=BB=E5=8F=B0=E5=8A=A0=E7=83=AD?= =?UTF-8?q?=E5=92=8C=E5=81=9C=E6=AD=A2=E5=8A=A0=E7=83=AD=E7=9A=84=E6=8C=87?= =?UTF-8?q?=E4=BB=A4=20=E7=A7=BB=E9=99=A4=E6=8E=A8=E5=85=A5=20=E6=8E=A8?= =?UTF-8?q?=E5=87=BA=E6=8C=87=E4=BB=A4=20=E9=87=8D=E6=96=B0=E6=8E=92?= =?UTF-8?q?=E5=88=97=E9=A1=B5=E9=9D=A2=E4=B8=8B=E6=96=B9=E7=9A=84=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libs/utils.ts | 5 ++++- src/views/main/index.vue | 54 +++++++++++++++++++++++++++--------------------- 2 files changed, 34 insertions(+), 25 deletions(-) diff --git a/src/libs/utils.ts b/src/libs/utils.ts index 55906f6..35c8902 100644 --- a/src/libs/utils.ts +++ b/src/libs/utils.ts @@ -69,7 +69,10 @@ export const cmdNameMap = { motor_xyz_origin: '三轴回原点', device_self_test: '设备自检', matrix_spray_change_param: '实时调整参数', - + nozzle_heat_start: '开启喷嘴加热', + nozzle_heat_stop: '停止喷嘴加热', + slide_plat_heat_start: '开启载玻台加热', + slide_plat_heat_stop: '停止载玻台加热', } export const generateColors = (count: number): string[] => { diff --git a/src/views/main/index.vue b/src/views/main/index.vue index 485c604..481a863 100644 --- a/src/views/main/index.vue +++ b/src/views/main/index.vue @@ -141,21 +141,21 @@ const handleLogoClick = () => { }, 1000) } -const slideTrayIn = async () => { - const params = { - cmdCode: 'slide_tray_in', - cmdId: '', - } - await sendControl(params) -} - -const slideTrayOut = async () => { - const params = { - cmdCode: 'slide_tray_out', - cmdId: '', - } - await sendControl(params) -} +// const slideTrayIn = async () => { +// const params = { +// cmdCode: 'slide_tray_in', +// cmdId: '', +// } +// await sendControl(params) +// } +// +// const slideTrayOut = async () => { +// const params = { +// cmdCode: 'slide_tray_out', +// cmdId: '', +// } +// await sendControl(params) +// } watch(() => isClose.value, async (newValue) => { if (!newValue) { @@ -262,26 +262,32 @@ const nozzleSwitch = async () => { 当前湿度: {{ systemStore.systemSensor.humidity }}%RH + +
喷头温度: {{ systemStore.systemSensor.nozzleTemperature }}℃ +
+
载玻台温度: {{ systemStore.systemSensor.slideTemperature }}℃ - - 设备状态: {{ status }} -
- - 推入托盘 - - - 推出托盘 + + 设备状态: {{ status }}
+ + + + + + + + @@ -326,7 +332,7 @@ const nozzleSwitch = async () => { padding:0 65px; height: 120px; display: flex; - justify-content: space-between; + justify-content: space-evenly; align-items: center; } }