package com.gk.hotwork.Domain;
|
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
|
public class DeviceLocation implements Serializable {
|
|
private Long id;
|
//总图ID
|
private Long rootAreaId;
|
//定位地图ID
|
private Long areaId;
|
//(可选)车间/房间号(需要特殊配置才会生效)
|
private String gateId;
|
//固定为"Tag"
|
private String deviceType;
|
//标签编号
|
private String uid;
|
//标签编号(为兼容性而保留,与uid 含义相同)
|
private String tagId;
|
//用户自定义编号
|
private String userId;
|
//通讯中继编号
|
private String routerId;
|
//触发时间,采用标准的UTC格式 ,本地时间需要用户软件依据时区自行转换
|
private Date raiseTime;
|
//X轴坐标
|
private BigDecimal x;
|
//Y轴坐标
|
private BigDecimal y;
|
//Z轴坐标(地图配置时自定义)
|
private BigDecimal z;
|
//整型 楼层(地图配置时自定义)
|
private Integer floor;
|
//方向标志, 整型: 4~门口 5~离开
|
private Integer direction;
|
//(引擎V2.41 版以上) 速度,米/秒
|
private BigDecimal speed;
|
// (引擎V2.41 版以上)当标签进入静止状态后,会继续输出一段时间的定位信息,此时silent=true
|
private Boolean silent;
|
// (可选)经度
|
private BigDecimal longitude;
|
// (可选)纬度
|
private BigDecimal latitude;
|
// (可选)海拔
|
private BigDecimal altitude;
|
//(可选)经纬度坐标系 "wgs84"(默认值), "gcj02"(谷歌标准) ,"bd09"(百度标准)
|
private String gpsType;
|
//(可选)定位模式, ”ble“ ~蓝牙定位 , "gps"~GPS 定位 注:经纬度和海拔是可选字段,需要特殊配置才会生效
|
private String mode;
|
|
private Date createTime;
|
|
public Long getRootAreaId() {
|
return rootAreaId;
|
}
|
|
public void setRootAreaId(Long rootAreaId) {
|
this.rootAreaId = rootAreaId;
|
}
|
|
public Long getAreaId() {
|
return areaId;
|
}
|
|
public void setAreaId(Long areaId) {
|
this.areaId = areaId;
|
}
|
|
public String getGateId() {
|
return gateId;
|
}
|
|
public void setGateId(String gateId) {
|
this.gateId = gateId;
|
}
|
|
public String getDeviceType() {
|
return deviceType;
|
}
|
|
public void setDeviceType(String deviceType) {
|
this.deviceType = deviceType;
|
}
|
|
public String getUid() {
|
return uid;
|
}
|
|
public void setUid(String uid) {
|
this.uid = uid;
|
}
|
|
public String getTagId() {
|
return tagId;
|
}
|
|
public void setTagId(String tagId) {
|
this.tagId = tagId;
|
}
|
|
public String getUserId() {
|
return userId;
|
}
|
|
public void setUserId(String userId) {
|
this.userId = userId;
|
}
|
|
public String getRouterId() {
|
return routerId;
|
}
|
|
public void setRouterId(String routerId) {
|
this.routerId = routerId;
|
}
|
|
public Date getRaiseTime() {
|
return raiseTime;
|
}
|
|
public void setRaiseTime(Date raiseTime) {
|
this.raiseTime = raiseTime;
|
}
|
|
public BigDecimal getX() {
|
return x;
|
}
|
|
public void setX(BigDecimal x) {
|
this.x = x;
|
}
|
|
public BigDecimal getY() {
|
return y;
|
}
|
|
public void setY(BigDecimal y) {
|
this.y = y;
|
}
|
|
public BigDecimal getZ() {
|
return z;
|
}
|
|
public void setZ(BigDecimal z) {
|
this.z = z;
|
}
|
|
public Integer getFloor() {
|
return floor;
|
}
|
|
public void setFloor(Integer floor) {
|
this.floor = floor;
|
}
|
|
public Integer getDirection() {
|
return direction;
|
}
|
|
public void setDirection(Integer direction) {
|
this.direction = direction;
|
}
|
|
public BigDecimal getSpeed() {
|
return speed;
|
}
|
|
public void setSpeed(BigDecimal speed) {
|
this.speed = speed;
|
}
|
|
public Boolean getSilent() {
|
return silent;
|
}
|
|
public void setSilent(Boolean silent) {
|
this.silent = silent;
|
}
|
|
public BigDecimal getLongitude() {
|
return longitude;
|
}
|
|
public void setLongitude(BigDecimal longitude) {
|
this.longitude = longitude;
|
}
|
|
public BigDecimal getLatitude() {
|
return latitude;
|
}
|
|
public void setLatitude(BigDecimal latitude) {
|
this.latitude = latitude;
|
}
|
|
public BigDecimal getAltitude() {
|
return altitude;
|
}
|
|
public void setAltitude(BigDecimal altitude) {
|
this.altitude = altitude;
|
}
|
|
public String getGpsType() {
|
return gpsType;
|
}
|
|
public void setGpsType(String gpsType) {
|
this.gpsType = gpsType;
|
}
|
|
public String getMode() {
|
return mode;
|
}
|
|
public void setMode(String mode) {
|
this.mode = mode;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
}
|