using Nirvana.Common;
using Nirvana.Common.ApiBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YBDevice.NApi.Application.BusinessClient.AccountInfo;

namespace YBDevice.NApi.Application.BusinessClient
{
    public interface IResultService
    {
        /// <summary>
        /// 测量记录列表
        /// </summary>
        /// <param name="queryParams"></param>
        /// <returns></returns>
        Task<ResultInfo> GetListAsync(BusinessResultC2SDto queryParams);
        /// <summary>
        /// 查询用户体重记录
        /// </summary>
        /// <param name="measureUserQuerDto"></param>
        /// <returns></returns>
        Task<ResultInfo> GetUserWeightListAsync(MeasureUserQueryDto measureUserQuerDto);
        /// <summary>
        /// 查询用户所有测量项记录
        /// </summary>
        /// <param name="id"></param>
        /// <param name="queryParams"></param>
        /// <returns></returns>
        Task<ResultInfo> GetUserResultListAsync(Guid id, QueryParams queryParams);
        /// <summary>
        /// 测量记录详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ResultInfo> GetUserResultDetailAsync(Guid id);
        /// <summary>
        /// 查询用户汇总数据
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ResultInfo> GetUserData(Guid id);
    }
}
