package com.ruoyi.monitoring.service.impl;

import com.mybatisflex.solon.service.impl.ServiceImpl;
import com.ruoyi.monitoring.domain.CmcChannel;
import com.ruoyi.monitoring.domain.CmcTemperature;
import com.ruoyi.monitoring.mapper.CmcChannelMapper;
import com.ruoyi.monitoring.mapper.CmcTemperatureMapper;
import com.ruoyi.monitoring.service.ICmcChannelService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

import java.util.List;

/**
 * 水温 服务层
 * @author cmc
 */
@Component
public class CmcChannelServiceImpl extends ServiceImpl<CmcChannelMapper, CmcChannel> implements ICmcChannelService {

    @Inject
    CmcChannelMapper cmcChannelMapper;

    /**
     * 查询监测点位列表信息
     * @param cmcChannel 监测点位信息
     * @return 监测点位列表
     */
    @Override
    public List<CmcChannel> listChannel(CmcChannel cmcChannel) {
        return cmcChannelMapper.listChannel(cmcChannel);
    };

}
