package com.jqyd.model;
public class LocationModule {
private double lon = 0;//经度
private double lat = 0;//纬度
private long time = 0;//时间 --服务器不需要返回
private String cid = " ";//客户id
private String cell_id = " ";//小区编号
private String ncode = " ";//网络码
private String ccode = " ";//国家码
private String lac = " ";//位置区码
private String radius = "-1";//误差半径
private String xhqd = " ";//信号强度
private int loc_type = 3;//获取位置方式--0.基站定位 1、卫星2、google3、百度 --2这个值暂不赋值,保留
private String yys = "0";//运营商1、联通2、电信3、移动
private String netstate = "0";//1手机流量打开,wifi打开 2 手机流量打开,wifi关闭 3手机流量关闭 wifi流量打开;4 W 关闭 G关闭
private int dw_type;//位置上报的方式0小区1卫星3百度-1百度失败
private int state;//获取位置的状态
public int getState() {
return state;
}
public void setState(int state) {
this.state = state;
}
public int getDw_type() {
return dw_type;
}
public void setDw_type(int dw_type) {
this.dw_type = dw_type;
}
public double getLon() {
return lon;
}
public void setLon(double lon) {
this.lon = lon;
}
public double getLat() {
return lat;
}
public void setLat(double lat) {
this.lat = lat;
}
public long getTime() {
return time;
}
public void setTime(long time) {
this.time = time;
}
public String getCid() {
return cid;
}
public void setCid(String cid) {
this.cid = cid;
}
public String getNcode() {
return ncode;
}
public void setNcode(String ncode) {
this.ncode = ncode;
}
public String getCcode() {
return ccode;
}
public void setCcode(String ccode) {
this.ccode = ccode;
}
public String getLac() {
return lac;
}
public void setLac(String lac) {
this.lac = lac;
}
public String getRadius() {
return radius;
}
public void setRadius(String radius) {
this.radius = radius;
}
public String getXhqd() {
return xhqd;
}
public void setXhqd(String xhqd) {
this.xhqd = xhqd;
}
public String getCell_id() {
return cell_id;
}
public void setCell_id(String cell_id) {
this.cell_id = cell_id;
}
public int getLoc_type() {
return loc_type;
}
public void setLoc_type(int loc_type) {
this.loc_type = loc_type;
}
public String getYys() {
return yys;
}
public void setYys(String yys) {
this.yys = yys;
}
public String getNetstate() {
return netstate;
}
public void setNetstate(String netstate) {
this.netstate = netstate;
}
@Override
public String toString() {
return "LocationModule [lon=" + lon + ", lat=" + lat + ", time=" + time
+ ", cid=" + cid + ", cell_id=" + cell_id + ", ncode=" + ncode
+ ", ccode=" + ccode + ", lac=" + lac + ", radius=" + radius
+ ", xhqd=" + xhqd + ", loc_type=" + loc_type + ", yys=" + yys
+ ", netstate=" + netstate + ", dw_type=" + dw_type
+ ", state=" + state + "]";
}
}