using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ZhonTai.Admin.Core.Repositories;
namespace NPP.SmartSchedue.Api.Contracts.Domain.Equipment;
///
/// 设备校验仓储接口(简化版本,专用于SmartSchedule模块)
///
public interface IEquipmentCalibrationRepository : IRepositoryBase
{
///
/// 根据设备ID获取校验记录
///
/// 设备ID
/// 校验记录列表
Task> GetByEquipmentIdAsync(long equipmentId);
///
/// 检查设备是否有进行中的校验
///
/// 设备ID
/// 是否有进行中的校验
Task HasInProgressCalibrationAsync(long equipmentId);
///
/// 获取指定日期需要校验的设备ID列表
///
/// 指定日期
/// 设备ID列表
Task> GetCalibrationEquipmentIdsAsync(DateTime date);
}