package com.yssh.entity;
|
|
|
import java.io.Serializable;
|
|
import lombok.AllArgsConstructor;
|
import lombok.NoArgsConstructor;
|
|
import com.github.biyanwen.annotation.CsvProperty;
|
import com.yssh.utils.CalculateUtils;
|
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class Temporary implements Serializable {
|
|
private static final long serialVersionUID = 8801687493177033295L;
|
private Integer x;
|
private Integer y;
|
@CsvProperty(index = 0)
|
private Double lon;
|
@CsvProperty(index = 1)
|
private Double lat;
|
@CsvProperty(index = 2)
|
private Integer z;
|
@CsvProperty(index = 3)
|
private Double u;
|
@CsvProperty(index = 4)
|
private Double v;
|
@CsvProperty(index = 5)
|
private Double w;
|
@CsvProperty(index = 6)
|
private Double c;
|
|
public Integer getX() {
|
return x;
|
}
|
|
public void setX(Integer x) {
|
this.x = x;
|
}
|
|
public Integer getY() {
|
return y;
|
}
|
|
public void setY(Integer y) {
|
this.y = y;
|
}
|
|
public Integer getZ() {
|
return z;
|
}
|
|
public void setZ(Integer z) {
|
this.z = z;
|
}
|
|
public double getLon() {
|
return CalculateUtils.getLon(x, y);
|
}
|
|
public double getLat() {
|
return CalculateUtils.getLat(x, y);
|
}
|
|
public Double getU() {
|
return u;
|
}
|
|
public void setU(Double u) {
|
this.u = u;
|
}
|
|
public Double getV() {
|
return v;
|
}
|
|
public void setV(Double v) {
|
this.v = v;
|
}
|
|
public Double getW() {
|
return w;
|
}
|
|
public void setW(Double w) {
|
this.w = w;
|
}
|
|
public Double getC() {
|
return c;
|
}
|
|
public void setC(Double c) {
|
this.c = c;
|
}
|
|
public void setLon(Double lon) {
|
this.lon = lon;
|
}
|
|
public void setLat(Double lat) {
|
this.lat = lat;
|
}
|
}
|