Table of Contents

Interface ILabelProvider

Namespace
CMS.Plugin.LabelManagement.Abstractions
Assembly
CMS.Plugin.LabelManagement.Abstractions.dll

标签提供程序

public interface ILabelProvider

Methods

AddPrintRecordAsync(PrintRecordModel)

添加打印记录

Task AddPrintRecordAsync(PrintRecordModel printRecordModel)

Parameters

printRecordModel PrintRecordModel

Returns

Task

ClearCacheAsync()

清除缓存

Task ClearCacheAsync()

Returns

Task

GetLabelListAsync()

获取所有标签列表

Task<List<LabelModel>> GetLabelListAsync()

Returns

Task<List<LabelModel>>

GetPrintLabelsAsync(Guid, Guid, string)

获取打印标签

Task<List<(LabelModel Label, PrintWorkStationModel WorkStation)>> GetPrintLabelsAsync(Guid productId, Guid workStationId, string printerName)

Parameters

productId Guid
workStationId Guid
printerName string

Returns

Task<List<(LabelModel Label, PrintWorkStationModel WorkStation)>>