设置返回点
This commit is contained in:
@@ -49,4 +49,8 @@ export const synchronizedMap = () => post('mapInfo/synchronizedMap', {})
|
||||
// 错误
|
||||
export const queryErrorDataByCode = (code) => post('anomalyInfo/queryErrorDataByCode?code=' + code, {})
|
||||
// 叉间状态
|
||||
export const backIoStatus = (type) => post('vehicle/setForkLegsObstacles?backIoStatus=' + type, {})
|
||||
export const backIoStatus = (type) => post('vehicle/setForkLegsObstacles?backIoStatus=' + type, {})
|
||||
// 获取当前配置的休息点
|
||||
export const getReturnStation = () => get('station/getReturnStation', {})
|
||||
// 配置车辆返回点
|
||||
export const updateReturnStation = (id) => post('station/updateReturnStation?station_id=' + id, {})
|
||||
@@ -3,20 +3,20 @@ export const queryStation = () => {
|
||||
let res = {
|
||||
message: 'ok',
|
||||
data: [
|
||||
{station_code: 'B1', station_name: 'Starting position on the first floor Starting position on the first floor', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B2', station_name: '一楼起点位置一楼起点位置一楼起点位置', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B3', station_name: 'B3', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B4', station_name: 'B4', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B5', station_name: 'B5', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B6', station_name: 'B6', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B7', station_name: 'B7', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B8', station_name: 'B8', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B9', station_name: 'B9', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B10', station_name: 'B10', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B11', station_name: 'B11', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B12', station_name: 'B12', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B13', station_name: 'B13', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B14', station_name: 'B14', x: '10', Y: '10', angle: '90'}
|
||||
{station_id: 'B1', station_code: 'B1', station_name: 'Starting position on the first floor Starting position on the first floor', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B2', station_code: 'B2', station_name: '一楼起点位置一楼起点位置一楼起点位置', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B3', station_code: 'B3', station_name: 'B3', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B4', station_code: 'B4', station_name: 'B4', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B5', station_code: 'B5', station_name: 'B5', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B6', station_code: 'B6', station_name: 'B6', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B7', station_code: 'B7', station_name: 'B7', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B8', station_code: 'B8', station_name: 'B8', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B9', station_code: 'B9', station_name: 'B9', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B10', station_code: 'B10', station_name: 'B10', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B11', station_code: 'B11', station_name: 'B11', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B12', station_code: 'B12', station_name: 'B12', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B13', station_code: 'B13', station_name: 'B13', x: '10', Y: '10', angle: '90'},
|
||||
{station_id: 'B14', station_code: 'B14', station_name: 'B14', x: '10', Y: '10', angle: '90'}
|
||||
]
|
||||
}
|
||||
return res
|
||||
@@ -199,4 +199,8 @@ export const setStation = (sn, code) => {
|
||||
message: 'ok'
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const getReturnStation = () => {
|
||||
let res = {station_id: 'B1',station_code:"111",station_name:"1111"}
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user