You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.5 KiB
C#

using DS.Module.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.Module.PrintModule
{
public interface IPrintService
{
/// <summary>
/// 获取打印模块列表
/// </summary>
/// <returns></returns>
public DataResult GetOpenPrintModuleList();
/// <summary>
/// 获取打印模板列表
/// </summary>
/// <returns></returns>
public DataResult GetOpenPrintTemplateList(string id);
/// <summary>
/// 获取打印模板列表 异步
/// </summary>
/// <param name="id">模块id</param>
/// <returns></returns>
public Task<DataResult> GetOpenPrintTemplateListAsync(string id);
/// <summary>
/// 获取Json打印信息
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult GetOpenJsonPrintInfo(OpenJsonPrintReq req);
/// <summary>
/// 获取Json打印信息-异步
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public Task<DataResult> GetOpenJsonPrintInfoAsync(OpenJsonPrintReq req);
/// <summary>
/// 获取Json打印信息文件流
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult<PrintStreamRes> GetOpenJsonPrintStream(OpenJsonPrintReq req);
}
}