liuxiaolong
2019-05-06 0bc4f4c791437b39b8c30624f5c21f8c855dc61d
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
package com.cloud.retrieve.service;
 
import com.alibaba.fastjson.JSONObject;
import com.cloud.model.common.Page;
import com.cloud.model.common.Result;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.List;
import java.util.Map;
 
public interface DeviceService {
 
    /**
     * 获取设备类型
     * @return
     */
    Result getDeviceType();
 
    Result getDeviceBrand();
 
    Result getStatusList();
 
    List getOrgDeviceTree(Map<String,Object> param);
 
    Result findByArea(Map<String, Object> param);
 
    /**
     * 查询所有非集群的监控设备,不分页
     * @param param
     * @return
     */
    Result findAllPlatDeviceList(Map<String,Object> param);
 
    Result getDeviceById(String id);
// 获取摄像机信息 包括节点信息  依据 摄像机id wp
    Result getNodeByDeviceId(String id);
 
    // 获取摄像机实时截图 wp
    Result getDevSnapshot(String id);
    /**
     * 查询所有集群和非集群的设备
     * @param param
     * @return
     */
    Result findAllDeviceByArea(@RequestParam Map<String, Object> param);
 
    /**
     * 查询设备管理里的所有设备接口
     * @return
     */
    Result findAllDevices();
 
    /**
     * 通过devId获取节点信息  wp  调用设备信息 wp 19-02-12  经量不用此接口
     * @param devId
     * @return
     */
    public JSONObject getNodeByDevId(String devId);
}