package com.njcn.cloud.service;


/**
 * @author wr
 * @description
 * @date 2023/11/9 14:39
 */
public interface MsgService {

    /**
     * @Description: 暂态消息推送
     * @param eventDetailIndex
     * @param lineId 
     * @Author: wr
     * @Date: 2023/11/9 14:40
     */
    void sendEventMsg(String eventDetailIndex,String lineId)throws Exception;

    /**
     * @Description: 稳态消息推送
     * @param userIndex
     * @param timeID
     * @param lineNum
     * @Author: wr
     * @Date: 2023/11/10 15:35
     */
    String sendSteadyMsg(String userIndex, String timeID, Integer lineNum);

    /**
     * 终端消息推送
     * @param userIndex
     * @param timeID
     * @param topID
     * @param flag
     * @return
     */
    String sendTargetMsg(String userIndex, String timeID, String topID, Integer flag);

    /**
     * 批量推送终端消息
     * @param userIndex
     * @param devCode
     * @param timeID
     * @param devNum
     * @param alarmNum
     * @param comOutNum
     */
    void sendTerminalMsg(String userIndex,String devCode, String timeID,Integer devNum,Integer alarmNum,Integer comOutNum);
}
