liulingling.177216
2024-08-26 349f1cfc5fa77fbc636d542df0d8050fddec48c2
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
60
61
62
63
package com.dingzhuo.energy.data.monitoring.device.service;
 
import com.dingzhuo.energy.data.monitoring.device.domain.DeviceStatusLive;
import java.util.List;
 
/**
 * 设备启停实时监测Service接口
 * 
 * @author sys
 * @date 2020-03-23
 */
public interface IDeviceStatusLiveService 
{
    /**
     * 查询设备启停实时监测
     * 
     * @param id 设备启停实时监测ID
     * @return 设备启停实时监测
     */
    DeviceStatusLive selectDeviceStatusLiveById(String id);
 
    /**
     * 查询设备启停实时监测列表
     * 
     * @param deviceStatusLive 设备启停实时监测
     * @return 设备启停实时监测集合
     */
    List<DeviceStatusLive> selectDeviceStatusLiveList(DeviceStatusLive deviceStatusLive);
 
    /**
     * 新增设备启停实时监测
     * 
     * @param deviceStatusLive 设备启停实时监测
     * @return 结果
     */
    int insertDeviceStatusLive(DeviceStatusLive deviceStatusLive);
 
    /**
     * 修改设备启停实时监测
     * 
     * @param deviceStatusLive 设备启停实时监测
     * @return 结果
     */
    int updateDeviceStatusLive(DeviceStatusLive deviceStatusLive);
 
    /**
     * 批量删除设备启停实时监测
     * 
     * @param ids 需要删除的设备启停实时监测ID
     * @return 结果
     */
    int deleteDeviceStatusLiveByIds(String[] ids);
 
    /**
     * 删除设备启停实时监测信息
     * 
     * @param id 设备启停实时监测ID
     * @return 结果
     */
    int deleteDeviceStatusLiveById(String id);
 
    DeviceStatusLive getDeviceStatus(String deviceId, String stateId);
}