/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ifish.helper;

import com.ifish.entity.Camera;
import com.ifish.entity.CameraUser;
import java.util.List;

/**
 *
 * @author Administrator
 */
public interface CameraUserHelperI {

    /**
     * 根据用户Id获取用户绑定的摄像头
     *
     * @param userId
     * @return
     */
    List<CameraUser> getCameraUserListByUserId(Integer userId) throws Exception;

    /**
     * 根据摄像头Id获取摄像头信息
     *
     * @param cameraId
     * @return
     * @throws Exception
     */
    Camera getCameraById(String cameraId) throws Exception;

}
