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> getMonitorPointsByRegionAndOrgId(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);
|
}
|