using Nirvana.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Waste.Application
{
    /// <summary>
    /// 投放记录
    /// </summary>
    public interface IResultService
    {
        /// <summary>
        /// 垃圾分类列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<PageParms<ResultList>> GetListAsync(QueryParams param);
        /// <summary>
        /// 添加记录
        /// </summary>
        /// <param name="myPackage"></param>
        /// <returns></returns>
        Task<ResultInfo> InsertResultAsync(MyPackage myPackage);
        /// <summary>
        /// 新的4G模块测量结果增加
        /// </summary>
        /// <param name="myPackage"></param>
        /// <returns></returns>
        Task InsertResultBy4GAsync(nMyPackage myPackage);

        /// <summary>
        /// 新的A8 4G模块测量结果增加
        /// </summary>
        /// <param name="myPackage"></param>
        /// <returns></returns>
        Task InsertResultByA84GAsync(A8MyPackage myPackage);
        /// <summary>
        /// wifi模块测量结果增加
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task InsertResultByWifiAsync(WifiPackage data);
    }
}
