wvp-GB28181-pro/src/main/java/com/genersoft/iot/vmp/service/IDeviceChannelService.java

60 lines
1.3 KiB
Java
Raw Normal View History

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 com.genersoft.iot.vmp.vmanager.gb28181.platform.bean.ChannelReduce;
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();
/**
*
* @param platformId
* @return
*/
List<ChannelReduce> queryAllChannelList(String platformId);
/**
*
*/
boolean updateAllGps(Device device);
2023-02-22 18:01:30 +08:00
/**
*
*/
List<Device> getDeviceByChannelId(String channelId);
}