| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package com.genersoft.iot.vmp.service;
- import com.genersoft.iot.vmp.gb28181.bean.Device;
- import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
- import com.genersoft.iot.vmp.vmanager.bean.ResourceBaceInfo;
- 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);
- /**
- * 获取统计信息
- * @return
- */
- ResourceBaceInfo getOverview();
- }
|