package com.njcn.cloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.cloud.pojo.dto.AppEventInfo;
import com.njcn.cloud.pojo.vo.EventEigDetailVO;
import com.njcn.cloud.pojo.vo.EventWaveDetailVO;
import com.njcn.event.file.pojo.dto.WaveDataDTO;



/**
 * <p>
 * 暂态消息详情 服务类
 * </p>
 *
 * @author wr
 * @since 2023-11-01
 */
public interface IAppEventInfoService extends IService<AppEventInfo> {

    /**
     * @Description: 暂态事件特征幅值
     * @param eventDetailIndex 
     * @return: java.util.List<com.njcn.cloud.pojo.vo.EventEigDetailVO>
     * @Author: wr
     * @Date: 2023/11/1 14:44
     */
    EventEigDetailVO.Detail eventDetailEigenvalue(String eventDetailIndex);

    /**
     * @Description: 暂态事件波形图
     * @param eventDetailIndex 
     * @return: com.njcn.cloud.pojo.vo.EventWaveDetailVO
     * @Author: wr
     * @Date: 2023/11/1 16:28
     */
    EventWaveDetailVO eventDetailWave(String eventDetailIndex) ;
    
    /**
     * @Description: 暂态评价
     * @param eventDetailIndex
     * @param evaluate
     * @param userId 
     * @return: java.lang.Boolean
     * @Author: wr
     * @Date: 2023/11/2 14:45
     */
    Boolean eventDetailEvaluate(String eventDetailIndex, Integer evaluate, String userId);

    /**
     * @Description: 获取波形数据
     * @param eventId
     * @param iType
     * @return: com.njcn.event.file.pojo.dto.WaveDataDTO
     * @Author: wr
     * @Date: 2023/11/2 14:46
     */
    WaveDataDTO analyseWave(String eventId, int iType);
}
