liusuyi
2026-05-18 0b8c8d8986a35c3e36db1503125e2dff79d6d10e
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
package com.ard.gb28181.service;
 
import com.ard.gb28181.api.domain.Device;
import com.ard.gb28181.api.domain.DeviceChannel;
 
import java.util.List;
 
/**
 * 国标通道业务类
 * @author lin
 */
public interface IDeviceChannelService {
 
    /**
     * 根据设备id清楚设备通道
     *
     * @param deviceId
     */
    void cleanChannelsForDevice(int deviceId);
 
    /**
     * 批量添加设备通道
     *
     * @param device
     * @param channels
     * @return
     */
    void updateChannels(Device device, List<DeviceChannel> channels);
}