package cn.wise.sc.energy.power.plant.business.service;

import cn.wise.sc.energy.power.plant.business.bean.DataPower;
import cn.wise.sc.energy.power.plant.business.domain.PlantInfo;
import cn.wise.sc.energy.power.plant.common.core.bean.BaseResponse;

import java.util.List;

/**
 * @description: 电厂信息服务层
 * @author: qh
 * @create: 2020-07-14 16:36
 **/
public interface IPlantInfoService extends IBaseService<String, PlantInfo> {

    /**
     * 获取当前电厂所有功率
     * @param plantId 电厂id
     * @return total
     */
    BaseResponse<Double> getTotalPower(String plantId);

    /**
     * 获取电厂功率初始数据
     * @return
     */
   DataPower getInitPower(String plantId,String deviceId);
}
