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);
|
}
|