| | |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import com.yssh.utils.CalculateUtils; |
| | | |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @ToString |
| | | @ApiModel(value="报警/预警展示对象", description="报警/预警展示对象") |
| | | public class WarningVo implements Serializable{ |
| | | public WarningVo() { |
| | | } |
| | | |
| | | public WarningVo(String locationName, String suYuanId, double lon, double lat, double value) { |
| | | this.locationName = locationName; |
| | | this.suYuanId = suYuanId; |
| | | this.lon = lon; |
| | | this.lat = lat; |
| | | this.value = value; |
| | | } |
| | | |
| | | private static final long serialVersionUID = 3440478664982471286L; |
| | | @ApiModelProperty(value = "点位名称") |
| | |
| | | public void setValue(double value) { |
| | | this.value = value; |
| | | } |
| | | |
| | | |
| | | public String getSuYuanId() { |
| | | return suYuanId; |
| | | } |
| | | |
| | | public void setLon(double lon) { |
| | | this.lon = lon; |
| | | } |
| | | |
| | | public void setLat(double lat) { |
| | | this.lat = lat; |
| | | } |
| | | } |