package com.njcn.device.pms.service.majornetwork;

import com.njcn.device.pms.pojo.param.OverviewParam;
import com.njcn.device.pms.pojo.vo.DistributionMonitorVO;
import com.njcn.device.pms.pojo.vo.OverviewVO;

import java.util.List;
import java.util.Map;

/**
 * <分布式光伏概览业务>
 *
 * @author wr
 * @createTime: 2022-12-29
 */
public interface OverviewService {

    /**
     * 监测点同环比
     * @param param
     * @return
     */
    OverviewVO getMonitorYoY(OverviewParam param);

    /**
     * 告警监测点占比
     * @param param
     * @return
     */
    List<OverviewVO.AlarmVO> getAlarmProportion(OverviewParam.OverviewDateParam param);


    /**
     * 监测点分布
     * @param param
     * @return
     */
    Map<String, List<DistributionMonitorVO>> getMonitorDistributed(OverviewParam param);

    /**
     * 告警评级
     * @param param
     * @return
     */
    List<OverviewVO.AreaAlarmCountVO> getAlarmRating(OverviewParam.OverviewDateParam param);

}
