OpenApiService.java
1.18 KB
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
package com.glsx.service;
import com.glsx.model.BO.*;
import com.glsx.model.BaseMapModel;
import com.glsx.model.DTO.*;
import java.util.Map;
public interface OpenApiService {
String getToken(TokenBo grantType);
Map<String,Object> getDeviceList(DeviceListBo deviceListBo);
void postCommands(CommandsBo commandsBo);
Integer getDeviceStatus(DeviceStatusBo deviceStatusBo);
Map<String, Integer> getDataView(DeviceStatusBo deviceStatusBo);
void subscribeMessage(subscribeMessageBo subscribeMessageBo);
LatestGpsRecordDto getLatestGPSRecord(DeviceStatusBo deviceStatusBo);
LatestBsRecordDto getLatestBsRecord(DeviceStatusBo deviceStatusBo);
LatestGpsBsRecordDto getLatestGpsBsRecord(DeviceStatusBo deviceStatusBo);
GpsRecordsDto getGpsRecords(GpsBsRecordsBo gpsRecordsBo);
BsRecordsDto getBsRecords(GpsBsRecordsBo gpsRecordsBo);
FirstGpsRecordDto getFirstGpsRecord(DeviceStatusBo deviceStatusBo);
GpsRecordsDto getRecentGpsRecords(DeviceStatusCountBo deviceStatusBo);
BsRecordsDto getRecentBsRecords(DeviceStatusCountBo deviceStatusBo);
DistInfoDto getDistInfoByPos(DistBO distBO);
DistDetilDto getDistDetailByPos(DistBO distBO);
}