|
|
@ -55,15 +55,15 @@ const nozzleHeatClose = async () => { |
|
|
|
} |
|
|
|
await sendControl(params, 'debug') |
|
|
|
} |
|
|
|
const nozzleHeatGet = async () => { |
|
|
|
const params = { |
|
|
|
cmdCode: 'nozzle_heat_get', |
|
|
|
cmdId: '', |
|
|
|
params: { |
|
|
|
}, |
|
|
|
} |
|
|
|
await sendControl(params, 'debug') |
|
|
|
} |
|
|
|
// const nozzleHeatGet = async () => { |
|
|
|
// const params = { |
|
|
|
// cmdCode: 'nozzle_heat_get', |
|
|
|
// cmdId: '', |
|
|
|
// params: { |
|
|
|
// }, |
|
|
|
// } |
|
|
|
// await sendControl(params, 'debug') |
|
|
|
// } |
|
|
|
const slidePlatHeatOpen = async () => { |
|
|
|
if (!form.nozzle.temperature) { |
|
|
|
FtMessage.error('请输入设置温度') |
|
|
@ -87,15 +87,15 @@ const slidePlatHeatClose = async () => { |
|
|
|
} |
|
|
|
await sendControl(params, 'debug') |
|
|
|
} |
|
|
|
const slidePlatHeatGet = async () => { |
|
|
|
const params = { |
|
|
|
cmdCode: 'slide_plat_heat_get', |
|
|
|
cmdId: '', |
|
|
|
params: { |
|
|
|
}, |
|
|
|
} |
|
|
|
await sendControl(params, 'debug') |
|
|
|
} |
|
|
|
// const slidePlatHeatGet = async () => { |
|
|
|
// const params = { |
|
|
|
// cmdCode: 'slide_plat_heat_get', |
|
|
|
// cmdId: '', |
|
|
|
// params: { |
|
|
|
// }, |
|
|
|
// } |
|
|
|
// await sendControl(params, 'debug') |
|
|
|
// } |
|
|
|
const motorMove = async (device: 'x' | 'y' | 'z') => { |
|
|
|
if (!form[device].position || !form[device].speed) { |
|
|
|
FtMessage.error('请补全参数') |
|
|
@ -424,9 +424,9 @@ const highVoltageClose = async () => { |
|
|
|
<ft-button :click-handle="nozzleHeatClose"> |
|
|
|
关闭 |
|
|
|
</ft-button> |
|
|
|
<ft-button :click-handle="nozzleHeatGet"> |
|
|
|
读取 |
|
|
|
</ft-button> |
|
|
|
<!-- <ft-button :click-handle="nozzleHeatGet"> --> |
|
|
|
<!-- 读取 --> |
|
|
|
<!-- </ft-button> --> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
@ -440,9 +440,9 @@ const highVoltageClose = async () => { |
|
|
|
<ft-button :click-handle="slidePlatHeatClose"> |
|
|
|
关闭 |
|
|
|
</ft-button> |
|
|
|
<ft-button :click-handle="slidePlatHeatGet"> |
|
|
|
读取 |
|
|
|
</ft-button> |
|
|
|
<!-- <ft-button :click-handle="slidePlatHeatGet"> --> |
|
|
|
<!-- 读取 --> |
|
|
|
<!-- </ft-button> --> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|