package com.shining.cloud.service.information;

import com.shining.cloud.pojo.information.EventMsgDetail;

import javax.security.auth.login.AccountException;
import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.List;

/**
 * @description: 暂态消息Service
 * @author: denghuajun
 * @time: 2019-10-17 14:09:47
 **/

public interface EventMsgService {
    List<EventMsgDetail> eventDetailList(String userIndex, int page, int num);
    List<EventMsgDetail> eventDetailAppList(String userIndex, int page, int num);
    int getUnState(String userIndex);

    void sendEventMsg(String eventDetailIndex,int lineId, HttpServletRequest request) throws Exception;

    String sendSteadyMsg(String userIndex, Long timeID, Integer lineNum) throws AccountException;

    String sendTargetMsg(String userIndex, Long timeID,Integer devNum, Integer alarmNum, Integer comOutNum, Float flowNum,int flag) throws Exception;

    void sendTerminalMsg(Date date, String userIndex, Integer devNum, Integer alarmNum,Integer comOutNum) throws Exception;
}
