From ef9692dd7a43e0620632e48ef295da738da50f90 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 27 十月 2021 16:10:15 +0800 Subject: [PATCH] 1. 监测数据根据设备类型不同分别存储不同数据表 2. 车载数据部分监测因子进行量级调整 3. 无人机监测数据部分监测因子由于偏差较大采用车载数据填充 4. 监测数据存储之前先进行平滑预处理,矫正异常值 --- src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt b/src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt index d1be554..6bc811e 100644 --- a/src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt +++ b/src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt @@ -1,8 +1,10 @@ package com.flightfeather.uav +import com.flightfeather.uav.lightshare.service.RealTimeDataService import org.junit.Test import org.junit.runner.RunWith import org.slf4j.LoggerFactory +import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.context.SpringBootTest import org.springframework.test.context.junit4.SpringRunner @@ -10,6 +12,8 @@ @SpringBootTest class UAVApplicationTests { + @Autowired + lateinit var realTimeDataService: RealTimeDataService @Test fun contextLoads() { @@ -30,4 +34,10 @@ log.error("error") } + @Test + fun foo2() { + val r = realTimeDataService.getSecondData(null, "2021-01-13 14:30:00", "2021-01-13 14:45:00", null, 10) + println(r) + } + } -- Gitblit v1.9.3