package cn.flightfeather.supervision.lightshare.service
|
|
import cn.flightfeather.supervision.domain.entity.FumePurifyDevice
|
import cn.flightfeather.supervision.domain.entity.MonitorDevice
|
import cn.flightfeather.supervision.domain.entity.VocPurifyDevice
|
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 saveFumePurifyDevice(info: FumePurifyDevice): Int
|
|
fun updateFumePurifyDevice(info: FumePurifyDevice): Int
|
|
fun getMonitorDeviceInfo(userId: String): List<MonitorDevice>
|
|
fun saveMonitorDevice(info: MonitorDevice): Int
|
|
fun updateMonitorDevice(info: MonitorDevice): Int
|
|
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>>
|
|
fun getJingAnDustHourValue(userId: String, startTime: String?, endTime: String?): List<DataVo>
|
|
fun getJingAnFumeValue(userId: String, startTime: String?, endTime: String?): List<DataVo>
|
|
fun getDeviceInfo(userId: String)
|
|
fun saveVOCPurifyDevice(userId: String, infoList: List<VocPurifyDevice>): Int
|
|
fun getVOCPurifyDevice(userId: String): List<VocPurifyDevice?>
|
|
}
|