feiyu02
2024-07-03 c9bbee8bb47d6f383f9699b59c046ddc0cb464e9
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
26
package com.flightfeather.uav.lightshare.service
 
import com.flightfeather.uav.domain.entity.ElectricMinuteValue
import com.flightfeather.uav.lightshare.bean.BaseResponse
import com.flightfeather.uav.lightshare.bean.DataVo
import com.flightfeather.uav.lightshare.bean.ElectricDailyInfo
import com.flightfeather.uav.lightshare.bean.ElectricVo
 
interface ElectricityService {
 
    fun getMinuteData(deviceCode: String, startTime: String?, endTime: String?, page: Int?, perPage: Int?): BaseResponse<List<ElectricMinuteValue>>
 
    fun getMinuteData2(deviceCode: String, startTime: String?, endTime: String?, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
 
    fun getByCompany(cId:String):BaseResponse<List<ElectricMinuteValue>>
 
    /**
     * 获取企业用电量整合数据
     */
    fun getElectricityInfo(cId: String, startTime: String?, endTime: String?, page: Int?, perPage: Int?): BaseResponse<List<ElectricVo>>
 
    /**
     * 企业用电量日统计信息
     */
    fun dailyAnalysis(cId: String, startTime: String?, endTime: String?): BaseResponse<List<ElectricDailyInfo>>
}