package com.shining.cloud.mapper.information;


import com.shining.cloud.pojo.information.AlarmInfo;
import com.shining.cloud.pojo.information.MonFlow;
import com.shining.cloud.pojo.information.TopException;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @description: 流量 告警
 * @author: denghuajun
 * @time: 2019-11-11 11:44:49
 **/

public interface MonFlowMapper {
 MonFlow getMonFlow(@Param("devIndex")int devIndex,@Param("statTime")String statTime,@Param("endTime")String endTime);
 TopException getMonFlowByTop(@Param("devIndex")int devIndex, @Param("startTime") Date startTime);
 Float getMonFlows(@Param("devIndex") int devIndex,@Param("statTime")String statTime,@Param("endTime")String endTime);

 List<AlarmInfo> getAlarmByDev(@Param("devIndex")int devIndex, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
}
