package com.zksy.base.alarm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zksy.base.alarm.domain.AlarmData;

import java.util.List;

public interface AlarmDataService extends IService<AlarmData> {
    Page<AlarmData> findByPage(long pageNum, long pageSize, String deviceCode, 
                                 String warningType, String warningCode, Integer alarmStatus,
                                 String equipmentType);
    
    List<AlarmData> getAlarmDataList(String deviceCode, 
                                       String warningType, String warningCode, Integer alarmStatus);
    
    boolean saveAlarmData(AlarmData alarmData);
}
