package com.mortals.xhx.module.hik.door.service;


import com.mortals.framework.common.Rest;
import com.mortals.xhx.module.door.model.DoorEntity;
import com.mortals.xhx.module.hik.door.model.req.door.DoorEventReq;
import com.mortals.xhx.module.hik.door.model.req.door.HikDoorEventReq;
import com.mortals.xhx.module.hik.door.model.rsp.door.DoorEventDataInfo;
import com.mortals.xhx.module.hik.door.model.rsp.door.info.EventInfo;

import java.util.List;

/**
 * 海康门禁接口对接类
 *
 * @author:
 * @date: 2023/4/12 17:47
 */
public interface IHikDoorService {

    /**
     * 获取门禁事件
     *
     * @author:
     * @date: 2023/4/13 10:24
     */
    Rest<DoorEventDataInfo> getDoorEvents(DoorEventReq doorEventReq);


    /**
     * 查询海康门禁事件
     * @param hikDoorEventReq
     * @param doorEntity
     * @return
     */
    Rest<List<EventInfo>> searchDoorEventsList(HikDoorEventReq hikDoorEventReq, DoorEntity doorEntity);


}
