From d073fb92291373092ab61ae43bce3cb0e610ef11 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 02 十二月 2024 11:31:57 +0800 Subject: [PATCH] 1 --- src/main/java/com/se/simu/domain/dto/ResultDto.java | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/se/simu/domain/dto/ResultDto.java b/src/main/java/com/se/simu/domain/dto/ResultDto.java index 61534a3..4ae214b 100644 --- a/src/main/java/com/se/simu/domain/dto/ResultDto.java +++ b/src/main/java/com/se/simu/domain/dto/ResultDto.java @@ -19,6 +19,10 @@ private String flowPath; + private String h5Path; + + private String inPath; + private String outPath; private String temp; @@ -36,13 +40,15 @@ this.buildingList = new ArrayList<>(); } - public ResultDto(String serviceName, String terrainFile, String buildingFile, String waterPath, String flowPath, String outPath, int epsg) { + public ResultDto(String serviceName, String terrainFile, String buildingFile, String waterPath, String flowPath, String inPath, String outPath, int epsg) { this(); this.serviceName = serviceName; this.terrainFile = terrainFile; this.buildingFile = buildingFile; this.waterPath = waterPath; this.flowPath = flowPath; + this.inPath = inPath + File.separator + serviceName; + this.h5Path = this.inPath + File.separator + ".save" + File.separator + serviceName + ".h5"; this.outPath = outPath + File.separator + serviceName; this.temp = outPath + File.separator + serviceName + File.separator + "temp"; this.epsg = epsg; @@ -101,6 +107,14 @@ this.flowPath = flowPath; } + public String getInPath() { + return inPath; + } + + public void setInPath(String inPath) { + this.inPath = inPath; + } + public String getOutPath() { return outPath; } @@ -148,4 +162,12 @@ public void setSpatialReference(SpatialReference spatialReference) { this.spatialReference = spatialReference; } + + public String getH5Path() { + return h5Path; + } + + public void setH5Path(String h5Path) { + this.h5Path = h5Path; + } } -- Gitblit v1.9.3