using APT.MS.Domain.Entities.BS;
using APT.MS.Domain.Enums;
using System;
using System.Collections.Generic;

namespace APT.BaseData.Domain.IServices.BS
{
    public interface IBSSafeCheckService
    {
        /// <summary>
        /// 危险源辨识 添加安全检查
        /// </summary>
        /// <param name="RISK_AREA_ID">区域ID</param>
        /// <param name="dicProjctContents">辨识对象 list<管控措施></param>
        void HazardsIni(Guid RISK_AREA_ID, Dictionary<string, List<string>> dicProjctContents, Guid UserID, Guid DEPARTMENTID, Guid OrgId, Guid DateID, ref T_BS_SAFE_CHECK modelCheck, ref List<T_BS_CHECK_PROJECT> listProject, ref List<T_BS_SAFE_CHECK_DETAIL> listDetail);


        /// <summary>
        /// 获取对应截止时间
        /// </summary>
        /// <param name="Quency"></param>
        /// <param name="dtNow"></param>
        /// <returns></returns>
        DateTime GetEndTime(BSPLANCHECKFREQUENCYEnum Quency, DateTime? dtNow = null);

    }
}
