/*
 * 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.bean.DeviceUserBean;
import com.ifish.entity.Device;
import com.ifish.entity.DeviceCamera;
import java.util.List;

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

    /**
     * 根据用户Id获取绑定设备集合
     *
     * @param userId
     * @return
     */
    List<DeviceUserBean> getDeviceUsersByUserId(Integer userId) throws Exception;

    /**
     * 根据设备Id获取绑定的摄像头信息
     *
     * @param deviceId
     * @return
     * @throws Exception
     */
    List<DeviceCamera> getDeviceCameraListByDeviceId(Integer deviceId) throws Exception;

    /**
     * 根据设备Id获取设备详情
     *
     * @param deviceId
     * @return
     * @throws Exception
     */
    Device getDeviceById(Integer deviceId) throws Exception;
}
