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