add设备操控

This commit is contained in:
2024-08-15 16:55:40 +08:00
parent 36d46d1991
commit 7bc555c0dd
4 changed files with 164 additions and 1 deletions

View File

@@ -32,6 +32,21 @@ export const groupMaterIn = (code, item) => request({
url:'api/groupMater/in',
data: {stor_code: code, item: item}
})
/**
* 设备操控
*/
export const switchInOut = (code, mode) => request({
url:'api/deviceManage/changeMode/switchInOut',
data: {device_code: code, mode: mode}
})
export const pinkStartStop = (code, mode) => request({
url:'api/deviceManage/changeMode/pinkStartStop',
data: {device_code: code, mode: mode}
})
export const toCommandTP = (code, mode, vcode) => request({
url:'api/deviceManage/changeMode/toCommandTP',
data: {device_code: code, mode: mode, vehicle_code: vcode}
})
/**
* 组盘入库
*/