| | |
| | | import cn.hutool.core.io.FileUtil; |
| | | |
| | | import java.io.File; |
| | | import java.util.Dictionary; |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | import java.util.*; |
| | | |
| | | /** |
| | | * 结果实体类 |
| | |
| | | |
| | | private Map<String, float[]> buildings; |
| | | |
| | | private List<BuildingDto> buildingList; |
| | | |
| | | public ResultDto() { |
| | | this.buildings = new HashMap<>(); |
| | | this.buildingList = new ArrayList<>(); |
| | | } |
| | | |
| | | public ResultDto(String serviceName, String terrainFile, String buildingFile, String waterPath, String flowPath, String outPath, String temp) { |
| | | public ResultDto(String serviceName, String terrainFile, String buildingFile, String waterPath, String flowPath, String outPath) { |
| | | this(); |
| | | this.serviceName = serviceName; |
| | | this.terrainFile = terrainFile; |
| | |
| | | public void setBuildings(Map<String, float[]> buildings) { |
| | | this.buildings = buildings; |
| | | } |
| | | |
| | | public List<BuildingDto> getBuildingList() { |
| | | return buildingList; |
| | | } |
| | | |
| | | public void setBuildingList(List<BuildingDto> buildingList) { |
| | | this.buildingList = buildingList; |
| | | } |
| | | } |