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>>
|
}
|