feiyu02
2025-12-25 d649f734c44541641158aec2d6b10d630f5a0827
src/main/kotlin/com/flightfeather/uav/lightshare/bean/AnalysisOption.kt
@@ -3,7 +3,9 @@
import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import io.swagger.annotations.ApiParam
import org.springframework.format.annotation.DateTimeFormat
import org.springframework.web.bind.annotation.RequestParam
import java.time.LocalDateTime
/**
@@ -36,4 +38,14 @@
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "结束时间")
    var endTime: LocalDateTime? = null
    @ApiModelProperty(value = "数据颗粒度", allowableValues = "SECOND, MINUTE, HOUR")
    var granularity: String? = null
    @ApiParam("需要统计的监测因子", example = "NO2, CO")
    var factorTypes: List<String>? = null
    /** 最小污染百分比,用于筛选异常数据点(可选) */
    @ApiModelProperty(value = "最小污染百分比,用于筛选异常数据点(可选)")
    var minPer: Double? = 0.5
}