jinpengyong
2022-02-23 15bba267b1992286f04be9db924af2786f3aac97
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.moral.api.service;
 
import com.moral.api.entity.Device;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 设备表 服务类
 * </p>
 *
 * @author moral
 * @since 2021-06-28
 */
public interface DeviceService extends IService<Device> {
 
    //根据站点id获取设备列表
    List<Device> getDevicesByMonitorPointId(Integer monitorPointId);
 
    //根据macs获取公有因子信息
    Map<String, Object> getSensorsByMac(Map<String,Object> params);
 
    //获取监测因子趋势图数据
    List<Map<String, Object>> getTrendChartData(Map<String,Object> params);
 
    //通过mac获取设备信息
    Device getDeviceByMac(String mac);
 
    //获取当前组织下所有设备列表
    List<Map<String, Object>> getDevicesByOrganizationId(Integer orgId);
 
    //获取当前组织下设备mac集合
    List<String> getMacsByOrganizationId(Integer organizationId);
 
    //获取当前组织,当前乡镇区域下设备mac集合
    List getMacsByOrgIdAndRegionCode(Integer organizationId,Integer regionCode);
 
}