using CncModels.Dto;
using CncModels.Entity;

namespace CncService.Interface
{
    /// <summary>
    /// 采集数据查询服务接口
    /// </summary>
    public interface ICollectDataService
    {
        /// <summary>按地址ID分页查询原始采集记录</summary>
        PagedResult<CollectRaw> GetRawByAddress(int addressId, int page, int pageSize);

        /// <summary>获取最新采集记录</summary>
        CollectRaw GetLatestRaw(int addressId);
    }
}
