| | |
| | | package com.ruoyi.system.service; |
| | | |
| | | import com.ruoyi.system.domain.GpsLoginRequest; |
| | | import com.ruoyi.system.domain.GpsLoginResponse; |
| | | import com.ruoyi.system.domain.*; |
| | | |
| | | /** |
| | | * GPS采集服务接口 |
| | |
| | | * @return 登录响应 |
| | | */ |
| | | GpsLoginResponse login(GpsLoginRequest request); |
| | | |
| | | /** |
| | | * 获取设备列表 |
| | | |
| | | * @return 设备列表响应 |
| | | */ |
| | | GpsDeviceListResponse getDeviceList(); |
| | | |
| | | /** |
| | | * 获取设备最后位置 |
| | | */ |
| | | GpsLastPositionResponse getLastPosition(GpsLastPositionRequest request); |
| | | |
| | | /** |
| | | * 通过车牌号查询设备号 |
| | | * |
| | | * @param plateNumber 车牌号 |
| | | * @return 设备号,如果未找到则返回null |
| | | */ |
| | | String getDeviceIdByPlateNumber(String plateNumber); |
| | | |
| | | /** |
| | | * 按时间查询历史轨迹 |
| | | * |
| | | * @param request 查询请求 |
| | | * @return 轨迹查询响应 |
| | | */ |
| | | GpsTrackQueryResponse queryTracks(GpsTrackQueryRequest request); |
| | | } |