wanglizhong
2025-05-04 2841e102ea4b5e9ddd40327829431a25a9122cd9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.ruoyi.system.service;
 
import com.ruoyi.system.domain.CmsGpsLoginResponse;
import com.ruoyi.system.domain.CmsVehicleDeviceResponse;
import com.ruoyi.system.domain.CmsVehicleDeviceListResponse;
import com.ruoyi.system.domain.CmsVehicleLocationResponse;
 
/**
 * CMS GPS采集服务接口
 */
public interface ICmsGpsCollectService {
    /**
     * 登录CMS系统
     *
     * @param username 用户名
     * @param password 密码
     * @return 登录响应
     */
    CmsGpsLoginResponse login(String username, String password);
 
    /**
     * 查询车辆设备信息
     *
     * @return 车辆设备响应
     */
    CmsVehicleDeviceResponse queryVehicleDevices();
 
    /**
     * 获取车辆设备列表
     *
     * @param vehicleId 车牌号,多个以逗号分隔
     * @return 车辆设备列表响应
     */
    CmsVehicleDeviceListResponse getDeviceByVehicle(String vehicleId);
 
    /**
     * 获取车辆最新位置信息
     *
     * @param vehicleId 车牌号,多个以逗号分隔
     * @param toMap 地图经纬度转换(1:谷歌地图,2:百度地图)
     * @param geoAddress 是否解析地理位置(1:是)
     * @param currentPage 当前页码
     * @param pageRecords 每页记录数
     * @return 车辆位置信息响应
     */
    CmsVehicleLocationResponse getVehicleLocation(String vehicleId, Integer toMap, Integer geoAddress, Integer currentPage, Integer pageRecords);