IDeviceChannelService.java 901 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package com.genersoft.iot.vmp.service;
  2. import com.genersoft.iot.vmp.gb28181.bean.Device;
  3. import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
  4. import com.genersoft.iot.vmp.vmanager.bean.ResourceBaceInfo;
  5. import java.util.List;
  6. /**
  7. * 国标通道业务类
  8. * @author lin
  9. */
  10. public interface IDeviceChannelService {
  11. /**
  12. * 更新gps信息
  13. */
  14. DeviceChannel updateGps(DeviceChannel deviceChannel, Device device);
  15. /**
  16. * 添加设备通道
  17. *
  18. * @param deviceId 设备id
  19. * @param channel 通道
  20. */
  21. void updateChannel(String deviceId, DeviceChannel channel);
  22. /**
  23. * 批量添加设备通道
  24. *
  25. * @param deviceId 设备id
  26. * @param channels 多个通道
  27. */
  28. int updateChannels(String deviceId, List<DeviceChannel> channels);
  29. /**
  30. * 获取统计信息
  31. * @return
  32. */
  33. ResourceBaceInfo getOverview();
  34. }