Files
hht-nlpower-uni/utils/getData0.js

34 lines
604 B
JavaScript
Raw Normal View History

2025-02-07 15:51:06 +08:00
import request from './request.js'
/**
* 公共接口
*/
// 查询区域
export const queryArea = () => request({
url:'api/hand/queryArea',
data: {}
})
// 根据区域查询点位
export const queryPointByArea = (rcode) => request({
url:'api/hand/queryPointByArea',
data: {
region_code: rcode
}
})
/**
* 搬运任务
*/
// PDA任务下发接口
export const callTask = (sdcode, ndcode, type, material) => request({
url:'api/hand/callTask',
data: {
start_device_code: sdcode,
next_device_code: ndcode,
task_type: type,
material: material
}
})