| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @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); |
| | | |
| | | //获取监测因子趋势图数据第二版 |
| | | List<Map<String, Object>> getTrendChartDataV2(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); |
| | | |
| | | /** |
| | | * @Description: 根据mac号获取设备单位报警信息 |
| | | * @Param: [mac] |
| | | * @return: com.moral.api.entity.Device |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2022/3/10 |
| | | */ |
| | | Device getDeviceUnitAlramInforByMac(String mac); |
| | | |
| | | } |