fengxiang
2018-02-06 7014fd76c199e676159ac30da6f4dbb91e3a137e
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
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.common.bean.ResultBean;
import com.moral.entity.Device;
 
public interface DeviceService {
 
    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);
 
    List<Device> query(Map<String,Object> map);
    PageResult query(Integer orgId, String deviceName,Integer pageSize,Integer pageNo);
 
    PageResult query(Integer orgId, Integer mpId, Integer pageSize, Integer pageNo);
 
    PageBean queryByPageBean(PageBean pageBean);
 
    void deleteByIds(Integer[] ids);
 
    void addOrModify(Device device);
 
    List<Device> getDevicesByMonitorPointId(Integer monitorPointId);
 
    List<Map<String,String>> queryDevicesState(List<String> macList,Boolean withData);
}