This commit is contained in:
2025-07-16 10:49:07 +08:00
parent ed1f7cf063
commit ecc4e40939
4 changed files with 107 additions and 64 deletions

View File

@@ -11,20 +11,13 @@ export const setStation = (sn) => post('teaching/setStation?stationName=' + sn,
export const stopMapping = () => post('teaching/stopMapping', {})
export const getLocalMaps = () => post('teaching/getLocalMaps', {})
export const oneClickDeployment = (map) => post('teaching/oneClickDeployment?mapName=' + map, {})
// export const getLocalMaps = () => post('teaching/getLocalMaps', {})
// export const synchronzieMap = (map) => post('teaching/synchronzieMap', {
// mapName: map
// })
// export const restart = () => post('teaching/restart', {})
// export const relocate = (x, y, angle) => post('teaching/relocate', {
// x: x,
// y: x,
// angle: angle
// })
// 操作
export const queryStation = () => post('api/operate/queryStation', {})
export const queryTaskChain = () => post('api/operate/queryTaskChain', {})
export const queryTaskChainDtl = (id) => post('api/operate/queryTaskChainDtl', {
chain_id: id
})
export const sendTask = (data) => post('api/operate/sendTask', {
data: data
})