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
| package com.genersoft.iot.vmp.service;
|
| import com.genersoft.iot.vmp.gb28181.bean.Device;
| import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
|
| import java.util.List;
|
| /**
| * 国标通道业务类
| * @author lin
| */
| public interface IDeviceChannelService {
|
| /**
| * 更新gps信息
| */
| DeviceChannel updateGps(DeviceChannel deviceChannel, Device device);
|
| /**
| * 添加设备通道
| *
| * @param deviceId 设备id
| * @param channel 通道
| */
| void updateChannel(String deviceId, DeviceChannel channel);
|
| /**
| * 批量添加设备通道
| *
| * @param deviceId 设备id
| * @param channels 多个通道
| */
| int updateChannels(String deviceId, List<DeviceChannel> channels);
|
| }
|
|