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; } }