package com.njcn.event.service.majornetwork;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.device.pms.pojo.param.MonitorTerminalParam;
import com.njcn.event.file.pojo.dto.WaveDataDTO;
import com.njcn.event.pojo.param.EventVerifyReasonParam;
import com.njcn.event.pojo.param.TransientParam;
import com.njcn.event.pojo.po.EventDetailNew;
import com.njcn.event.pojo.vo.TransientVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author: chenchao
 * @date: 2022/03/29 10:40
 * @Description: <描述>
 */
public interface TransientService {

    /**
     * 功能描述: 获取暂态事件相关信息
     * @param transientParam
     * @return
     */
    Page<TransientVO> getTransientData(TransientParam transientParam);
    /**
     * 功能描述: 暂态事件波形分析
     * @param param
     * @return
     */
    WaveDataDTO getTransientAnalyseWave(MonitorTerminalParam param);
    /**
     * 功能描述: 暂态事件波形文件下载
     * @param eventIds
     * @return
     */
    void downloadWaveFile(List<String> eventIds, HttpServletResponse response);
    /**
     * 功能描述: 根据条件查询暂态事件
     * @param transientParam
     * @return
     */
    Page<EventDetailNew> getTransientValue(TransientParam transientParam);


    void updateEventReason(EventVerifyReasonParam eventVerifyReasonParam);
}
