燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-07-20 22713a6cb6bed3e3f2cdfffae58161fabbb5d120
src/main/java/com/yssh/entity/Report.java
@@ -51,10 +51,14 @@
    @ApiModelProperty(value = "最大值的ID")
    private String maxId;
    @ApiModelProperty(value = "最大值的地名")
    private String maxAddr;
    public Report() {
    }
    public Report(String id, String name, double lon, double lat, double val, String time, double speed, String dir, double maxVal, double dis, String maxDir, int isSame, String maxId) {
    public Report(String id, String name, double lon, double lat, double val, String time, double speed,
                  String dir, double maxVal, double dis, String maxDir, int isSame, String maxId, String maxAddr) {
        this.id = id;
        this.name = name;
        this.lon = lon;
@@ -68,6 +72,7 @@
        this.maxDir = maxDir;
        this.isSame = isSame;
        this.maxId = maxId;
        this.maxAddr = maxAddr;
    }
    /**
@@ -97,7 +102,7 @@
        String maxId = (Integer.parseInt(strs[0]) / 10) + "_" + (Integer.parseInt(strs[1]) / 10);
        return new Report(wd.getSuYuanId(), wd.getLocationName(), c1.getX(), c1.getY(), wd.getValue(), time,
                speed1, dir, maxVal, dis1, maxDir, isSame, maxId);
                speed1, dir, maxVal, dis1, maxDir, isSame, maxId, suMax.getAddr());
    }
    public String getId() {
@@ -211,4 +216,12 @@
    public void setMaxId(String maxId) {
        this.maxId = maxId;
    }
    public String getMaxAddr() {
        return maxAddr;
    }
    public void setMaxAddr(String maxAddr) {
        this.maxAddr = maxAddr;
    }
}