package com.moral.api.service; import com.moral.api.entity.Device; import com.baomidou.mybatisplus.extension.service.IService; import com.moral.api.pojo.vo.device.AppDeviceVo; import java.util.List; import java.util.Map; /** *

* 设备表 服务类 *

* * @author moral * @since 2021-06-28 */ public interface DeviceService extends IService { //根据站点id获取设备列表 List getDevicesByMonitorPointId(Integer monitorPointId); List getDevicesByMonitorPointId(List monitorPointId); //根据macs获取公有因子信息 Map getSensorsByMac(Map params); //获取监测因子趋势图数据 List> getTrendChartData(Map params); //获取监测因子趋势图数据第二版 List> getTrendChartDataV2(Map params); //通过mac获取设备信息 Device getDeviceByMac(String mac); //获取当前组织下所有设备列表 List> getDevicesByOrganizationId(Integer orgId); //获取当前组织下设备mac集合 List getMacsByOrganizationId(Integer organizationId); //获取当前组织,当前乡镇区域下设备mac集合 List getMacsByOrgIdAndRegionCode(Integer organizationId,Integer regionCode); /** * @Description: 根据mac号获取设备单位报警信息 * @Param: [mac] * @return: com.moral.api.entity.Device * @Author: 陈凯裕 * @Date: 2022/3/10 */ Device getDeviceUnitAlramInforByMac(String mac); /** * 模糊查询 * @param mac * @return */ List getFuzzySearch(String mac); /** * 根据站点查询设备 * @param id * @return */ List getOrganizationDevice(Integer id); }