From ab491a079ba4ab85ffef35d14c0767eba01455d8 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 15 一月 2025 09:18:36 +0800 Subject: [PATCH] 切正式服 --- src/main/java/com/genersoft/iot/vmp/service/IDeviceChannelService.java | 76 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/IDeviceChannelService.java b/src/main/java/com/genersoft/iot/vmp/service/IDeviceChannelService.java old mode 100644 new mode 100755 index 9629e3a..3ea8e5f --- a/src/main/java/com/genersoft/iot/vmp/service/IDeviceChannelService.java +++ b/src/main/java/com/genersoft/iot/vmp/service/IDeviceChannelService.java @@ -2,6 +2,9 @@ import com.genersoft.iot.vmp.gb28181.bean.Device; import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel; +import com.genersoft.iot.vmp.gb28181.bean.MobilePosition; +import com.genersoft.iot.vmp.vmanager.bean.ResourceBaseInfo; +import com.genersoft.iot.vmp.vmanager.gb28181.platform.bean.ChannelReduce; import java.util.List; @@ -32,4 +35,77 @@ */ int updateChannels(String deviceId, List<DeviceChannel> channels); + /** + * 鑾峰彇缁熻淇℃伅 + * @return + */ + ResourceBaseInfo getOverview(); + + /** + * 鏌ヨ鎵�鏈夋湭鍒嗛厤鐨勯�氶亾 + * @param platformId + * @return + */ + List<ChannelReduce> queryAllChannelList(String platformId); + + /** + * 鏁版嵁浣嶇疆淇℃伅鏍煎紡澶勭悊 + */ + boolean updateAllGps(Device device); + + /** + * 鏌ヨ閫氶亾鎵�灞炵殑璁惧 + */ + List<Device> getDeviceByChannelId(String channelId); + + /** + * 鎵归噺鍒犻櫎閫氶亾 + * @param deleteChannelList 寰呭垹闄ょ殑閫氶亾鍒楄〃 + */ + int deleteChannels(List<DeviceChannel> deleteChannelList); + + /** + * 鎵归噺涓婄嚎 + */ + int channelsOnline(List<DeviceChannel> channels); + + /** + * 鎵归噺涓嬬嚎 + */ + int channelsOffline(List<DeviceChannel> channels); + + /** + * 鑾峰彇涓�涓�氶亾 + */ + DeviceChannel getOne(String deviceId, String channelId); + + /** + * 鐩存帴鎵归噺鏇存柊閫氶亾 + */ + void batchUpdateChannel(List<DeviceChannel> channels); + + /** + * 鐩存帴鎵归噺娣诲姞 + */ + void batchAddChannel(List<DeviceChannel> deviceChannels); + + /** + * 淇敼閫氶亾鐨勭爜娴佺被鍨� + */ + void updateChannelStreamIdentification(DeviceChannel channel); + + List<DeviceChannel> queryChaneListByDeviceId(String deviceId); + + void updateChannelGPS(Device device, DeviceChannel deviceChannel, MobilePosition mobilePosition); + + void stopPlay(String deviceId, String channelId); + void batchUpdateChannelGPS(List<DeviceChannel> channelList); + + void batchAddMobilePosition(List<MobilePosition> addMobilePositionList); + + void online(DeviceChannel channel); + + void offline(DeviceChannel channel); + + void delete(DeviceChannel channel); } -- Gitblit v1.8.0