using Nirvana.Common.ApiBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YBDevice.Entity;
namespace YBDevice.NApi
{
///
/// 设备管理
///
public interface IDeviceService
{
///
/// 获取设备
///
///
///
Task GetEquAsync(string ecode);
///
/// 获取设备信息
///
/// 设备序列号
///
Task GetDeviceAsync(string facecode);
///
/// 获取设备信息
///
/// 设备机器码
///
Task GetDeviceByEcodeAsync(string ecode);
///
/// 设备注册
///
/// 设备资料
///
Task RegAsync(YB_Device yB_Device);
///
/// 设备列表
///
///
Task> GetListAsync();
///
/// 获取设备类型列表
///
///
Task GetTypeListAsync();
///
/// 根据设备确定要使用的公众号或者小程序
///
///
///
Task GetOfficeByDeviceAsync(YB_Device data);
///
/// YB_Result迁移到YB_nResult
///
void Result2NewResult();
}
}