package com.skr.mdm.api.track.service;

import com.skr.mdm.dto.LoginAdminDTO;
import com.skr.mdm.result.ResponseResult;

/**
 * @author nfq
 * @date 2020/9/22 16:34
 */
public interface TrackService {

    /**
     * 获取部门下所有设备
     *
     * @param departmentId
     * @param userName
     * @param loginAdminDTO
     * @return
     */
    ResponseResult listEquipmentByDepartmentId(Integer departmentId, String userName, LoginAdminDTO loginAdminDTO);

    ResponseResult getLocation(Integer sid, Integer tid, Integer trid);

    ResponseResult getTrack(Integer sid, Integer tid, Integer trid, Long startTime, Long endTime);
}
