xufenglei
2018-02-06 5b0347a811a6c948defb5320e71c43173280dfc2
src/main/java/com/moral/service/DeviceService.java
@@ -1,8 +1,28 @@
package com.moral.service;
import java.util.List;
import java.util.Map;
import com.moral.common.bean.PageBean;
import com.moral.common.bean.PageResult;
import com.moral.entity.Device;
public interface DeviceService {
   Map<String, Object> getDeviceStates(Map<String, Object> parameters);
   Map<String, Object> getDeviceStatesByAccount(Map<String, Object> parameters);
   void saveOrUpdateDevice(Device device);
   List<Device> getInstallDevicesByOperateUser(Integer uid, Integer pageIndex, Integer pageSize);
   Device getDeviceByMac(String mac);
    PageResult query(Integer orgId, String deviceName,Integer pageSize,Integer pageNo);
    PageBean queryByPageBean(PageBean pageBean);
   void deleteByIds(Integer[] ids);
    void addOrModify(Device device);
   List<Device> getDevicesByMonitorPointId(Integer monitorPointId);
}