package tech.glinfo.enbao.modules.infrared.service;

import com.baomidou.mybatisplus.extension.service.IService;
import tech.glinfo.enbao.common.utils.R;
import tech.glinfo.enbao.modules.infrared.entity.InfraredControlEntity;

/**
 * 红外遥控器
 *
 * @author linyetong
 * @email linyetong@gltech.com
 * @date 2020-06-18 14:04:03
 */
public interface OtherInfraredControlService extends IService<InfraredControlEntity> {

    R list(Integer deviceId, Integer userId);

    void saveInfraredCode(String deviceType, String model, Integer deviceId, String rtype);

    void deleteInfraredCode(Integer deviceId, String deviceType);
}

