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 deviceName, String deviceCode, 
                                 String warningType, String warningCode, Integer alarmStatus);
    
    List<AlarmData> getAlarmDataList(String deviceName, String deviceCode, 
                                       String warningType, String warningCode, Integer alarmStatus);
    
    boolean saveAlarmData(AlarmData alarmData);
}
