feiyu02
2022-07-28 237d7c42498806a3ca205f63d151671a45304854
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package cn.flightfeather.supervision.lightshare.service
 
import cn.flightfeather.supervision.domain.entity.FumePurifyDevice
import cn.flightfeather.supervision.domain.entity.MonitorDevice
import cn.flightfeather.supervision.lightshare.vo.BaseResponse
import cn.flightfeather.supervision.lightshare.vo.DataVo
import cn.flightfeather.supervision.lightshare.vo.DateVo
import cn.flightfeather.supervision.lightshare.vo.MonAvgDataVo
 
interface DeviceService {
 
    fun getPurifyDeviceInfo(userId: String): List<FumePurifyDevice>
 
    fun getMonitorDeviceInfo(userId: String): List<MonitorDevice>
 
    fun getLatestMinuteValue(userId: String):List<DataVo>
 
    fun getLatestHourValue(userId: String):List<DataVo>
 
    fun getMonAvgData(userId: String, timeList:List<DateVo>): List<MonAvgDataVo>
 
    fun getHistoryValue(userId: String, startTime: String, endTime: String, period: Byte): List<DataVo>
 
    fun getRealTimeData(page: Int, perPage: Int): BaseResponse<List<DataVo>>
}