package com.sooka.sponest.monitor.device.mapper;

import com.sooka.sponest.monitor.device.domain.CentermonitorTMonitoringThresholdWaterVelocity;

import java.util.List;

/**
 * 监测设备阈值Mapper接口
 *
 * @author ruoyi
 * @date 2023-03-14
 */
public interface CentermonitorTMonitoringDeviceThresholdMapper{

    /**
     * 通过设备编码查询水流速传感器阈值
     * */
    CentermonitorTMonitoringThresholdWaterVelocity selectWaterVelocityThresholdByCode(String deviceCode);

    /**
     * 通过设备编码组查询水流速传感器阈值
     * */
    List<CentermonitorTMonitoringThresholdWaterVelocity> selectWaterVelocityThresholdByCodes(String[] deviceCodes);

    /**
     * 新增水流速监测设备阈值
     */
     int insertWaterVelocityThreshold(CentermonitorTMonitoringThresholdWaterVelocity thresholdWaterVelocity);

    /**
     * 修改水流速监测设备阈值
     */
     int updateWaterVelocityThreshold(CentermonitorTMonitoringThresholdWaterVelocity thresholdWaterVelocity);
}
