bsd.ice
1.07 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
module BaseStationData
{
struct BsData
{
int mnc; /*运营商编码*/
int lac; /*区号*/
int cellid; /*塔号*/
};
sequence<BsData> BsListReq;
struct BsDataListReq
{
BsListReq bsList;
};
struct BsDataReq
{
BsData bs;
};
struct GpsData
{
int lng; /*经度*/
int lat; /*纬度*/
string addr; /*地址*/
};
struct BsDataResp
{
int ret;
GpsData gps;
};
struct BsPoint
{
float lng;
float lat;
};
struct PoiInfo
{
float distance;
string type;
float lng;
float lat;
string addr;
};
sequence<PoiInfo> poiDatas;
struct DaoPoiInfoResp
{
int size;
poiDatas records;
};
interface BaseStationService
{
bool GetGpsByBs(BsDataReq req, out BsDataResp resp);
bool GetGpsByBsList(BsDataListReq req, out BsDataResp resp);
/*get gaode poiType*/
bool getPoiTypeFromGeo(BsPoint pt, out DaoPoiInfoResp res);
};
};