package com.jiuqi.mobile.lbs.intf.internal;
public enum LBSType {
/**
* 中国联通
*/
Unicom(1),
/**
* 中国电信
*/
Telecom_Exact(2),
Telecom_Simple(3),
/**
* 中国移动
*/
CMCC_Exact(4),
CMCC_Simple(5),
/**
* GPS位置获取
* @usermodi qq:411051729
* 变更说明:
*/
GPS(6),
/**
* AGPS位置获取
* @usermodi qq:411051729
* 变更说明:
*/
AGPS(7),
/**
* 百度位置获取
* @usermodi qq:411051729
* 变更说明:
*/
BAIDU(8),
/**
* 谷歌位置获取
* @usermodi qq:411051729
* 变更说明:
*/
GOOGLE(9),
/**
* 高德位置获取
* @usermodi qq:411051729
* 变更说明:
*/
GAODE(10)
// if (dwType.equals("11")) {// 请求联通Cell_ID定位
// locationInfo = service.getLJLTCLocation(msid, isEncrypt, newInfo.getDetail());
// } else if (dwType.equals("12")) {// 请求销售管家cell_id定位
// locationInfo = service.getQGLJLTCLocation(msid, isEncrypt, newInfo.getDetail());
// } else if (dwType.equals("21")) {// 请求电信精定位
// locationInfo = service.getLJDXJLocation(msid, isEncrypt, newInfo.getDetail());
// } else if (dwType.equals("22")) {// 请求电信粗定位
// locationInfo = service.getLJDXCLocation(msid, isEncrypt, newInfo.getDetail());
// } else if (dwType.equals("31")) {// 请求移动定位(粗)
// locationInfo = service.getLJYDCLocation(msid, isEncrypt, newInfo.getDetail());
// } else if (dwType.equals("41")) {// 请求洛阳移动定位(粗)
// locationInfo = service.getLYMobleLocation(msid, isEncrypt, newInfo.getDetail());
// }
;
private int code;
private LBSType(int code){
this.code = code;
}
public int getCode() {
return code;
}
public static LBSType getLBSType(int code){
for(LBSType l : LBSType.values()){
if(l.getCode() == code){
return l;
}
}
return null;
}
}