| | |
| | | package com.ruoyi.device.channel.service; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.device.camera.domain.ArdCameras; |
| | | import com.ruoyi.device.channel.domain.ArdChannel; |
| | | |
| | | /** |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArdChannelByDeviceId(String deviceId); |
| | | /** |
| | | * @Author 刘苏义 |
| | | * @Description 获取2个通道列表的交集 |
| | | * @Date 2024/7/10 9:38 |
| | | * @Param |
| | | * @return |
| | | */ |
| | | public List<ArdChannel> sameList(List<ArdChannel> oldArrayList, List<ArdChannel> newArrayList); |
| | | /** |
| | | * @Author 刘苏义 |
| | | * @Description 取2个通道列表的差集 |
| | | * @Date 2024/7/10 9:39 |
| | | * @Param |
| | | * @return |
| | | */ |
| | | public List<ArdChannel> diffList(List<ArdChannel> firstArrayList, List<ArdChannel> secondArrayList); |
| | | |
| | | /** |
| | | * @Author 刘苏义 |
| | |
| | | * @Param |
| | | * @return |
| | | */ |
| | | public void asyncChannel(List<ArdChannel> oldArrayList, List<ArdChannel> newArrayList); |
| | | public void asyncChannel(ArdCameras ardCameras, List<ArdChannel> oldArrayList, List<ArdChannel> newArrayList); |
| | | } |