| | |
| | | |
| | | import com.ruoyi.common.utils.uuid.IdUtils; |
| | | import com.ruoyi.device.camera.domain.ArdCameras; |
| | | import com.ruoyi.device.camera.factory.CameraSDK; |
| | | import com.ruoyi.device.camera.factory.CameraSDKFactory; |
| | | import com.ruoyi.device.camera.mapper.ArdCamerasMapper; |
| | | import com.ruoyi.media.mapper.VtduMapper; |
| | | import com.ruoyi.media.service.IVtduService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.ruoyi.device.channel.mapper.ArdChannelMapper; |
| | | import com.ruoyi.device.channel.domain.ArdChannel; |
| | |
| | | public class ArdChannelServiceImpl implements IArdChannelService { |
| | | @Resource |
| | | private ArdChannelMapper ardChannelMapper; |
| | | @Resource |
| | | private CameraSDKFactory cameraSDKFactory; |
| | | @Resource |
| | | private IVtduService vtduService; |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * 清空通道 |
| | | * |
| | | * @author 刘苏义 |
| | | * @date 2024/8/10 11:18 |
| | | */ |
| | | @Override |
| | | public int clearArdChannel(){ |
| | | return ardChannelMapper.clearArdChannel(); |
| | | } |
| | | /** |
| | | * 删除通道管理信息 |
| | | * |
| | | * @param deviceId 所属设备ID |