From 3c7db3d43212a01302c3b375f94a332e1f28d511 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Thu, 22 Oct 2020 10:10:07 +0800 Subject: [PATCH] 增加国控站坐标获取 --- src/main/java/com/moral/service/MonitorPointService.java | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/moral/service/MonitorPointService.java b/src/main/java/com/moral/service/MonitorPointService.java index 7860a85..67c3774 100644 --- a/src/main/java/com/moral/service/MonitorPointService.java +++ b/src/main/java/com/moral/service/MonitorPointService.java @@ -1,12 +1,61 @@ package com.moral.service; +import java.util.Collection; import java.util.List; import java.util.Map; +import com.alibaba.fastjson.JSONObject; +import com.moral.common.bean.PageBean; +import com.moral.entity.Device; import com.moral.entity.MonitorPoint; +import org.apache.xmlbeans.impl.jam.mutable.MPackage; public interface MonitorPointService { List<MonitorPoint> getMonitorPointsByAreaName(Map<String, Object> parameters); + List<MonitorPoint> queryWithStateByMap(Map<String, Object> params); + + public PageBean queryByPageBean(PageBean pageBean); + + MonitorPoint queryWithRelationById(Integer id); + + public void addOrModify(MonitorPoint monitorPoint); + + public void deleteByIds(Integer... ids); + + List<MonitorPoint> getMonitorPointsByName(String name); + List<Map<String,String>> queryMonitroPointsState(List<Integer> idList); + + Integer countOfSubOrgs(Integer orgId); + + List<MonitorPoint> getMonitorPointsByOrganizationId(Integer orgId); + + List<MonitorPoint> getMonitorPointsByRegion(Map<String, Object> parameters); + + List<Integer> queryVersionsById(Integer id); + + MonitorPoint queryMonitorPointById(Integer mpointId); + + List<MonitorPoint> getMonitorPointsAndDevicesByRegion(Map<String, Object> parameters); + + Collection<Object> getDevicesStateByRegion(Map<String, Object> parameters); + + void isCompensateCalculation(Map<String, Object> parameters); + + Map<String, Object> selectAllById(String id); + + //������monitorPointId������������������������������������ + List<Device> getDeviceList(int id); + + //���������������������������id + JSONObject getMonitorPointById(int id, String Time, int i, String sensor); + + JSONObject getMacList(int id); + + List<MonitorPoint> getMonitorPointListByAccountId(int id); + + MonitorPoint byIdGetMonitorPoint(int id); + + String getOrgIdByMac(String mac); } -- Gitblit v1.8.0