spotless 적용
This commit is contained in:
@@ -382,6 +382,7 @@ public class InferenceResultDto {
|
|||||||
this.modelVer3 = modelVer3;
|
this.modelVer3 = modelVer3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Schema(description = "진행률")
|
||||||
@JsonProperty("progress")
|
@JsonProperty("progress")
|
||||||
private int getProgress() {
|
private int getProgress() {
|
||||||
long tiles = this.detectingCnt; // 도엽수
|
long tiles = this.detectingCnt; // 도엽수
|
||||||
@@ -395,14 +396,19 @@ public class InferenceResultDto {
|
|||||||
+ this.m3FailedJobs; // 완료수
|
+ this.m3FailedJobs; // 완료수
|
||||||
|
|
||||||
long total = tiles * models; // 전체 작업량
|
long total = tiles * models; // 전체 작업량
|
||||||
|
if (completed >= total) {
|
||||||
|
return 100;
|
||||||
|
}
|
||||||
return (int) ((completed * 100L) / total);
|
return (int) ((completed * 100L) / total);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Schema(description = "변화탐지 옵션명")
|
||||||
@JsonProperty("detectOptionName")
|
@JsonProperty("detectOptionName")
|
||||||
private String getDetectOptionName() {
|
private String getDetectOptionName() {
|
||||||
return DetectOption.getDescByCode(this.detectOption);
|
return DetectOption.getDescByCode(this.detectOption);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Schema(description = "분석도엽 명")
|
||||||
@JsonProperty("mapSheetScopeName")
|
@JsonProperty("mapSheetScopeName")
|
||||||
private String getMapSheetScope() {
|
private String getMapSheetScope() {
|
||||||
return MapSheetScope.getDescByCode(this.mapSheetScope);
|
return MapSheetScope.getDescByCode(this.mapSheetScope);
|
||||||
|
|||||||
Reference in New Issue
Block a user