feiyu02
2025-03-21 e5bdf2e02090357cbd580d54e6cd2406dd541760
src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt
@@ -10,16 +10,27 @@
interface RealTimeDataService {
    fun getSecondData(deviceCode: String?, startTime: String?, endTime: String?, type: Int?, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
    fun getSecondData(
        deviceType: String?, deviceCode: String?, startTime: String?, endTime: String?, type: Int?,
        page: Int?, perPage: Int?,
    ): BaseResponse<List<DataVo>>
    fun getNextData(deviceCode: String, updateTime: String, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
    fun getSegmentData(missionCode: String): List<List<DataVo>>
    fun importData(file: MultipartFile): BaseResponse<DataImportResult>
    fun importJinanData(code:String, file: MultipartFile): DataImportResult
    fun downloadTemplate(response: HttpServletResponse): Boolean
    fun outToWorkbook(deviceCode: String, startTime: String, endTime: String): SXSSFWorkbook
    fun outToExcel(deviceCode: String, startTime: String, endTime: String, response: HttpServletResponse): HttpServletResponse
    fun getOriginData(deviceCode: String?, startTime: String?, endTime: String?, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
    /**
     * 数据处理
     * 去除原始数据中的异常波动值