fsp_online.ice
1017 Bytes
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
48
49
50
51
52
module FspOnline
{
struct GpsLoc
{
double longitude;
double latitude;
double glng; /* 高德坐标 */
double glat;
double blng; /* 百度坐标 */
double blat;
};
struct ResideBaseInfo
{
string userId;
int apType;
int totalDuration;
int totalTimes;
GpsLoc gps;
};
enum PeriodType
{
Morning = 1,
Afternoon = 2,
Night = 4,
};
sequence<ResideBaseInfo> ResideBaseInfos;
struct FspReq
{
string userId;
int apType;
int beginTime;
int endTime;
int locInfoType; /* 1.gps 2.bs */
int perType;
int extraMapReq; /* 0:原始坐标 1:转换高德和百度坐标 2:转换高德坐标 3:转换百度坐标 */
};
struct FspResp
{
int ret;
ResideBaseInfos baseInfos;
};
interface FspService
{
int GetFsp(FspReq req, out FspResp resp);
};
};