kaiyu
2020-12-02 dcf1385a88fdf517e2cc60b50ea2e0a30e5652ca
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package com.moral.service;
 
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
 
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> getMonitorPointsByOrganizationIds(Set<Integer> orgIds);
 
    List<MonitorPoint> getMonitorPointsByRegion(Map<String, Object> parameters);
 
    List<MonitorPoint> getMonitorPointsAndDevicesByRegionNew(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);
}