using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YBDevice.Entity;

namespace YBDevice.NApi
{
    /// <summary>
    /// 八电极处理接口
    /// </summary>
    public interface IBodyService
    {
        ///<summary>
        /// 处理wifi模块发送过来的数据
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task<int> HandlerBodyDataAsync(BodyRequstDto data);
        /// <summary>
        /// 处理PCH01W发送过来的数据
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task<object> Handler01WDataAsync(BodyRequstDto data);
    }
}
