SignalSend 添加

This commit is contained in:
2022-09-19 14:57:59 +08:00
parent ea8f39820e
commit ddb4607070
5 changed files with 170 additions and 15 deletions

View File

@@ -18,16 +18,12 @@ export const instOperation = (uuid, type) => post('api/andxy2/hand/inst', {
inst_uuid: uuid,
type: type
})
// 任务管理
// 1.1 查询未完成指令
export const queryTask = (keyword, scode, ncode) => post('api/andxy2/hand/tasks', {
keyword: keyword,
start_devicecode: scode,
next_devicecode: ncode
})
// 1.2 指令操作
export const taskOperation = (uuid, type) => post('api/andxy2/hand/taskoperation', {
inst_uuid: uuid,
type: type
// 信号下发
// 1.3下发设备信号
export const putPoint = (val1, val2, val3, val4, val5) => post('api/hand/putPoint', {
outer_diameter: val1,
length: val2,
color: val3,
jackup_num: val4,
strap_number: val5
})