| | |
| | | package com.lf.server.entity.ctrl; |
| | | |
| | | import com.lf.server.entity.all.AbstractPwdEntity; |
| | | import com.lf.server.entity.all.StaticData; |
| | | |
| | | import java.io.Serializable; |
| | |
| | | * 下载瓦片实体类 |
| | | * @author WWW |
| | | */ |
| | | public class DownloadTileEntity implements Serializable { |
| | | public class DownloadTileEntity extends AbstractPwdEntity implements Serializable { |
| | | private static final long serialVersionUID = -229710198271495902L; |
| | | |
| | | private Double xmin; |
| | |
| | | |
| | | private Double ymax; |
| | | |
| | | private Integer pubid; |
| | | |
| | | private String title; |
| | | |
| | | private String url; |
| | | |
| | | private String pwd; |
| | | |
| | | public DownloadTileEntity() { |
| | | } |
| | |
| | | } |
| | | if (ymin < StaticData.I90_NEG || ymin > StaticData.I90 || ymax < StaticData.I90_NEG || ymax > StaticData.I90) { |
| | | return "Y坐标值不正确"; |
| | | } |
| | | |
| | | if (xmin > xmax) { |
| | | double x = xmax; |
| | | xmin = xmax; |
| | | xmax = x; |
| | | } |
| | | if (ymin > ymax) { |
| | | double y = ymax; |
| | | ymin = ymax; |
| | | ymax = y; |
| | | } |
| | | |
| | | return null; |
| | |
| | | this.ymax = ymax; |
| | | } |
| | | |
| | | public Integer getPubid() { |
| | | return pubid; |
| | | } |
| | | |
| | | public void setPubid(Integer pubid) { |
| | | this.pubid = pubid; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getUrl() { |
| | | return url; |
| | | } |
| | | |
| | | public void setUrl(String url) { |
| | | this.url = url; |
| | | } |
| | | |
| | | public String getPwd() { |
| | | return pwd; |
| | | } |
| | | |
| | | public void setPwd(String pwd) { |
| | | this.pwd = pwd; |
| | | } |
| | | } |