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 getMonitorPointsByAreaName(Map parameters); List queryWithStateByMap(Map params); public PageBean queryByPageBean(PageBean pageBean); MonitorPoint queryWithRelationById(Integer id); public void addOrModify(MonitorPoint monitorPoint); public void deleteByIds(Integer... ids); List getMonitorPointsByName(String name); List> queryMonitroPointsState(List idList); Integer countOfSubOrgs(Integer orgId); List getMonitorPointsByOrganizationId(Integer orgId); List getMonitorPointsByOrganizationIds(Set orgIds); List getMonitorPointsByRegion(Map parameters); List getMonitorPointsAndDevicesByRegionNew(Map parameters); List queryVersionsById(Integer id); MonitorPoint queryMonitorPointById(Integer mpointId); List getMonitorPointsAndDevicesByRegion(Map parameters); Collection getDevicesStateByRegion(Map parameters); void isCompensateCalculation(Map parameters); Map selectAllById(String id); //通过monitorPointId获取该公司区域的所有设备 List getDeviceList(int id); //获取公司信息,通过id JSONObject getMonitorPointById(int id, String Time, int i, String sensor); JSONObject getMacList(int id); List getMonitorPointListByAccountId(int id); MonitorPoint byIdGetMonitorPoint(int id); String getOrgIdByMac(String mac); }