设置返回点

This commit is contained in:
2025-09-17 17:52:04 +08:00
parent 1a1ddd256f
commit b2e1b317cc
6 changed files with 90 additions and 19 deletions

View File

@@ -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
}