|
@ -395,6 +395,18 @@ const debug_transportation_arm_stop = async (motor: 'x' | 'y' | 'z') => { |
|
|
await debugStore.sendControl(params) |
|
|
await debugStore.sendControl(params) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const debug_gantry_position = async (motor: 'x' | 'y' | 'z') => { |
|
|
|
|
|
currentCommandId = Date.now().toString() |
|
|
|
|
|
const params = { |
|
|
|
|
|
commandId: currentCommandId, |
|
|
|
|
|
command: `debug_gantry_${motor}_position`, |
|
|
|
|
|
params: { |
|
|
|
|
|
position: debugStore.formData.transferModule[`${motor}MotorData`].position, |
|
|
|
|
|
}, |
|
|
|
|
|
} |
|
|
|
|
|
await debugStore.sendControl(params) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
const debug_holding_jaw_open = async () => { |
|
|
const debug_holding_jaw_open = async () => { |
|
|
currentCommandId = Date.now().toString() |
|
|
currentCommandId = Date.now().toString() |
|
|
const params = { |
|
|
const params = { |
|
@ -483,6 +495,30 @@ const debug_move_tray_to_heat_area = async () => { |
|
|
await debugStore.sendControl(params) |
|
|
await debugStore.sendControl(params) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const debug_gantry_to_heat_area_cap = async () => { |
|
|
|
|
|
currentCommandId = Date.now().toString() |
|
|
|
|
|
const params = { |
|
|
|
|
|
commandId: currentCommandId, |
|
|
|
|
|
command: 'debug_gantry_to_heat_area_cap', |
|
|
|
|
|
params: { |
|
|
|
|
|
heatId: debugStore.formData.heatArea.index, |
|
|
|
|
|
}, |
|
|
|
|
|
} |
|
|
|
|
|
await debugStore.sendControl(params) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const debug_gantry_to_heat_area_tray = async () => { |
|
|
|
|
|
currentCommandId = Date.now().toString() |
|
|
|
|
|
const params = { |
|
|
|
|
|
commandId: currentCommandId, |
|
|
|
|
|
command: 'debug_gantry_to_heat_area_tray', |
|
|
|
|
|
params: { |
|
|
|
|
|
heatId: debugStore.formData.heatArea.index, |
|
|
|
|
|
}, |
|
|
|
|
|
} |
|
|
|
|
|
await debugStore.sendControl(params) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
const debug_cap_in_heat_area = async () => { |
|
|
const debug_cap_in_heat_area = async () => { |
|
|
currentCommandId = Date.now().toString() |
|
|
currentCommandId = Date.now().toString() |
|
|
const params = { |
|
|
const params = { |
|
@ -634,17 +670,19 @@ const debug_stop_all_motor = async () => { |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="指定位置"> |
|
|
<el-form-item label="指定位置"> |
|
|
<el-input v-model.number="debugStore.formData.transferModule.xMotorData.times" type="number" placeholder="请输入次数"> |
|
|
|
|
|
|
|
|
<el-input v-model.number="debugStore.formData.transferModule.xMotorData.position" type="number" placeholder="请输入位置"> |
|
|
<template #append> |
|
|
<template #append> |
|
|
mm |
|
|
mm |
|
|
</template> |
|
|
</template> |
|
|
</el-input> |
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<ft-button type="primary"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="() => debug_gantry_position('x')"> |
|
|
移动 |
|
|
移动 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button>停止</ft-button> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="() => debug_transportation_arm_stop('x')"> |
|
|
|
|
|
停止 |
|
|
|
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
</div> |
|
|
</div> |
|
@ -687,17 +725,19 @@ const debug_stop_all_motor = async () => { |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="指定位置"> |
|
|
<el-form-item label="指定位置"> |
|
|
<el-input v-model.number="debugStore.formData.transferModule.xMotorData.times" type="number" placeholder="请输入次数"> |
|
|
|
|
|
|
|
|
<el-input v-model.number="debugStore.formData.transferModule.xMotorData.position" type="number" placeholder="请输入位置"> |
|
|
<template #append> |
|
|
<template #append> |
|
|
mm |
|
|
mm |
|
|
</template> |
|
|
</template> |
|
|
</el-input> |
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<ft-button type="primary"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="() => debug_gantry_position('y')"> |
|
|
移动 |
|
|
移动 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button>停止</ft-button> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="() => debug_transportation_arm_stop('y')"> |
|
|
|
|
|
停止 |
|
|
|
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
</div> |
|
|
</div> |
|
@ -740,17 +780,19 @@ const debug_stop_all_motor = async () => { |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="指定位置"> |
|
|
<el-form-item label="指定位置"> |
|
|
<el-input v-model.number="debugStore.formData.transferModule.xMotorData.times" type="number" placeholder="请输入次数"> |
|
|
|
|
|
|
|
|
<el-input v-model.number="debugStore.formData.transferModule.xMotorData.position" type="number" placeholder="请输入位置"> |
|
|
<template #append> |
|
|
<template #append> |
|
|
mm |
|
|
mm |
|
|
</template> |
|
|
</template> |
|
|
</el-input> |
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<ft-button type="primary"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="() => debug_gantry_position('z')"> |
|
|
移动 |
|
|
移动 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button>停止</ft-button> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="() => debug_transportation_arm_stop('z')"> |
|
|
|
|
|
停止 |
|
|
|
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
</div> |
|
|
</div> |
|
@ -786,10 +828,10 @@ const debug_stop_all_motor = async () => { |
|
|
</el-input> |
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<ft-button type="primary" :click-handle="debug_holding_jaw_open"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_holding_jaw_open"> |
|
|
执行 |
|
|
执行 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button :click-handle="debug_holding_jaw_pause"> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_holding_jaw_pause"> |
|
|
停止 |
|
|
停止 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
@ -837,13 +879,13 @@ const debug_stop_all_motor = async () => { |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
|
|
|
<ft-button type="primary" :click-handle="debug_liquid_arm_rotation"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_liquid_arm_rotation"> |
|
|
开始 |
|
|
开始 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button :click-handle="debug_liquid_arm_stop"> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_liquid_arm_stop"> |
|
|
停止 |
|
|
停止 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button type="primary" :click-handle="debug_liquid_arm_reset"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_liquid_arm_reset"> |
|
|
回原点 |
|
|
回原点 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</div> |
|
|
</div> |
|
@ -889,10 +931,10 @@ const debug_stop_all_motor = async () => { |
|
|
<!-- </ft-button> --> |
|
|
<!-- </ft-button> --> |
|
|
<!-- </el-form-item> --> |
|
|
<!-- </el-form-item> --> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<ft-button type="primary" :click-handle="debug_liquid_pump_start"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_liquid_pump_start"> |
|
|
启动 |
|
|
启动 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button :click-handle="debug_liquid_pump_stop"> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_liquid_pump_stop"> |
|
|
停止 |
|
|
停止 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
@ -909,13 +951,13 @@ const debug_stop_all_motor = async () => { |
|
|
</el-input> |
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<ft-button type="primary" :click-handle="debug_shaker_start"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_shaker_start"> |
|
|
开始 |
|
|
开始 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button :click-handle="debug_shaker_stop"> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_shaker_stop"> |
|
|
停止 |
|
|
停止 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button type="primary" :click-handle="debug_shaker_reset"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_shaker_reset"> |
|
|
回原点 |
|
|
回原点 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</div> |
|
|
</div> |
|
@ -968,17 +1010,63 @@ const debug_stop_all_motor = async () => { |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
<div class="card-box"> |
|
|
<div class="card-box"> |
|
|
<ft-button type="primary" :click-handle="debug_door_open"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_door_open"> |
|
|
开门 |
|
|
开门 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button type="primary" :click-handle="debug_door_close"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_door_close"> |
|
|
关门 |
|
|
关门 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button :click-handle="debug_door_stop"> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_door_stop"> |
|
|
停止 |
|
|
停止 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</div> |
|
|
</div> |
|
|
</el-card> |
|
|
</el-card> |
|
|
|
|
|
<el-card> |
|
|
|
|
|
<template #header> |
|
|
|
|
|
<div class="card-header"> |
|
|
|
|
|
<span>拍子存放模组</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</template> |
|
|
|
|
|
<div class="card-box"> |
|
|
|
|
|
<el-form> |
|
|
|
|
|
<el-form-item label="速度"> |
|
|
|
|
|
<el-input v-model.number="debugStore.formData.lidData.velocity" type="number" placeholder="请输入速度"> |
|
|
|
|
|
<template #append> |
|
|
|
|
|
rpm/min |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="距离"> |
|
|
|
|
|
<el-input v-model.number="debugStore.formData.lidData.distance" type="number" placeholder="请输入距离"> |
|
|
|
|
|
<template #append> |
|
|
|
|
|
mm |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item> |
|
|
|
|
|
<ft-button type="primary" size="small" :click-handle="debug_cover_elevator_lift_up"> |
|
|
|
|
|
抬升 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
<ft-button type="primary" size="small" :click-handle="debug_cover_elevator_lift_down"> |
|
|
|
|
|
下降 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_cover_elevator_stop"> |
|
|
|
|
|
停止 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
<ft-button type="primary" size="small" :click-handle="debug_cover_elevator_reset"> |
|
|
|
|
|
回原点 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
<ft-button type="primary" :click-handle="debug_cap_up_one"> |
|
|
|
|
|
提升一个拍子高度 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
<ft-button type="primary" :click-handle="debug_cap_down_one"> |
|
|
|
|
|
下降一个拍子高度 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-form> |
|
|
|
|
|
</div> |
|
|
|
|
|
</el-card> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="8"> |
|
|
<el-col :span="8"> |
|
|
<el-card> |
|
|
<el-card> |
|
@ -1005,10 +1093,15 @@ const debug_stop_all_motor = async () => { |
|
|
<ft-button size="small" type="primary" :click-handle="debug_move_tray_to_heat_area"> |
|
|
<ft-button size="small" type="primary" :click-handle="debug_move_tray_to_heat_area"> |
|
|
托盘移至加热区 |
|
|
托盘移至加热区 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_cap_out_heat_area"> |
|
|
<ft-button size="small" type="primary" :click-handle="debug_cap_out_heat_area"> |
|
|
拆卸拍子 |
|
|
拆卸拍子 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_gantry_to_heat_area_cap"> |
|
|
|
|
|
机械臂移至拍子位 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_gantry_to_heat_area_tray"> |
|
|
|
|
|
机械臂移至托盘位 |
|
|
|
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
</div> |
|
|
</div> |
|
@ -1063,10 +1156,10 @@ const debug_stop_all_motor = async () => { |
|
|
</el-input> |
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<ft-button type="primary" :click-handle="debug_heater_start"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_heater_start"> |
|
|
开始加热 |
|
|
开始加热 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button :click-handle="debug_heater_stop"> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_heater_stop"> |
|
|
停止加热 |
|
|
停止加热 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
@ -1091,18 +1184,18 @@ const debug_stop_all_motor = async () => { |
|
|
</el-input> |
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<ft-button type="primary" :click-handle="debug_cold_trap_start_refrigeration"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_cold_trap_start_refrigeration"> |
|
|
启动制冷 |
|
|
启动制冷 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button :click-handle="debug_cold_trap_stop_refrigeration"> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_cold_trap_stop_refrigeration"> |
|
|
停止制冷 |
|
|
停止制冷 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<ft-button type="primary" :click-handle="debug_cold_trap_start_recycle"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_cold_trap_start_recycle"> |
|
|
启动循环 |
|
|
启动循环 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button :click-handle="debug_cold_trap_stop_recycle"> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_cold_trap_stop_recycle"> |
|
|
停止循环 |
|
|
停止循环 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
@ -1119,60 +1212,14 @@ const debug_stop_all_motor = async () => { |
|
|
<!-- </div> --> |
|
|
<!-- </div> --> |
|
|
<el-divider>风扇</el-divider> |
|
|
<el-divider>风扇</el-divider> |
|
|
<div class="card-box"> |
|
|
<div class="card-box"> |
|
|
<ft-button type="primary" :click-handle="debug_fan_start"> |
|
|
|
|
|
|
|
|
<ft-button size="small" type="primary" :click-handle="debug_fan_start"> |
|
|
打开风扇 |
|
|
打开风扇 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
<ft-button :click-handle="debug_fan_stop"> |
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_fan_stop"> |
|
|
关闭风扇 |
|
|
关闭风扇 |
|
|
</ft-button> |
|
|
</ft-button> |
|
|
</div> |
|
|
</div> |
|
|
</el-card> |
|
|
</el-card> |
|
|
<el-card> |
|
|
|
|
|
<template #header> |
|
|
|
|
|
<div class="card-header"> |
|
|
|
|
|
<span>拍子存放模组</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</template> |
|
|
|
|
|
<div class="card-box"> |
|
|
|
|
|
<el-form> |
|
|
|
|
|
<el-form-item label="速度"> |
|
|
|
|
|
<el-input v-model.number="debugStore.formData.lidData.velocity" type="number" placeholder="请输入速度"> |
|
|
|
|
|
<template #append> |
|
|
|
|
|
rpm/min |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="距离"> |
|
|
|
|
|
<el-input v-model.number="debugStore.formData.lidData.distance" type="number" placeholder="请输入距离"> |
|
|
|
|
|
<template #append> |
|
|
|
|
|
mm |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item> |
|
|
|
|
|
<ft-button type="primary" size="small" :click-handle="debug_cover_elevator_lift_up"> |
|
|
|
|
|
抬升 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
<ft-button type="primary" size="small" :click-handle="debug_cover_elevator_lift_down"> |
|
|
|
|
|
下降 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
|
|
|
|
|
|
<ft-button size="small" :click-handle="debug_cover_elevator_stop"> |
|
|
|
|
|
停止 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
<ft-button type="primary" size="small" :click-handle="debug_cover_elevator_reset"> |
|
|
|
|
|
回原点 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
<ft-button type="primary" :click-handle="debug_cap_up_one"> |
|
|
|
|
|
提升一个拍子高度 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
<ft-button type="primary" :click-handle="debug_cap_down_one"> |
|
|
|
|
|
下降一个拍子高度 |
|
|
|
|
|
</ft-button> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-form> |
|
|
|
|
|
</div> |
|
|
|
|
|
</el-card> |
|
|
|
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
</div> |
|
|
</div> |
|
|