package com.njcn.device.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.device.pojo.param.AlarmParam;
import com.njcn.device.pojo.vo.TerminalAlarmVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDateTime;
import java.util.List;

/**
 * pqs
 *
 * @author cdf
 * @date 2022/5/23
 */
public interface TerminalAlarmService {

    /**
     * 查询告警主列表
     * @author cdf
     * @date 2022/5/17
     */
    Page<TerminalAlarmVO> alarmList(AlarmParam alarmParam);

    /**
     * 获取告警详情
     * @author cdf
     * @date 2022/5/23
     */
    List<TerminalAlarmVO> alarmDetail(AlarmParam alarmParam);


    /**
     * 批量处理告警
     * @author cdf
     * @date 2022/5/23
     */
    boolean updateAlarmInfo(String type,String devLineId);
}
