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

namespace YBDevice.NApi.Application.PrintInfo
{
    /// <summary>
    /// 打印编号处理
    /// </summary>
    public interface IPrintService
    {
        /// <summary>
        /// 生成打印编号并记录
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task<ResultInfo> GetCodeAsync(PrintCodeC2SDto data);
        /// <summary>
        /// 根据ID获取设备列表
        /// </summary>
        /// <param name="id">打印记录ID</param>
        /// <returns></returns>
        Task<ResultInfo> GetDevCodeListByIdAsync(Guid id);
    }
}
