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.WarningThreshold;

import java.util.List;

/**
* @author Administrator
* @description 针对表【warning_threshold(预警阈值)】的数据库操作Service
* @createDate 2025-09-01 09:59:43
*/
public interface WarningThresholdService extends IService<WarningThreshold> {
    Page<WarningThreshold> findByPage(long pageNum, long pageSize, String deviceCode,String warningType,String warningCode);
    List<WarningThreshold> getWarningThresholdList(String deviceCode,String warningType,String warningCode);

    /**
     * 根据设备编号查询该设备所有预警值
     */
    WarningThreshold getWarningThresholdByDeviceAndCode(String deviceCode, String warningCode);
}
