123
This commit is contained in:
@@ -74,7 +74,7 @@ namespace RIZO_Application.Modules.ModuleName.ViewModels
|
|||||||
{
|
{
|
||||||
_eventAggregator.GetEvent<SystemLogEvent>().Publish($"收到打印请求: {printDto.Name}");
|
_eventAggregator.GetEvent<SystemLogEvent>().Publish($"收到打印请求: {printDto.Name}");
|
||||||
|
|
||||||
// 准备打印参数
|
// 1.准备全部打印参数表
|
||||||
var printParameters = new Dictionary<string, string>
|
var printParameters = new Dictionary<string, string>
|
||||||
{
|
{
|
||||||
{ "10", printDto.PartNumber },
|
{ "10", printDto.PartNumber },
|
||||||
@@ -89,6 +89,16 @@ namespace RIZO_Application.Modules.ModuleName.ViewModels
|
|||||||
{ "10011", printDto.LabelType.ToString() }
|
{ "10011", printDto.LabelType.ToString() }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//2.TODO 根据地址抓取需要的Key字段
|
||||||
|
|
||||||
|
|
||||||
|
//3.TODO 根据全部打印参数表,剔除不要的字段
|
||||||
|
|
||||||
|
|
||||||
|
//4.TODO 进行打印
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 执行打印
|
// 执行打印
|
||||||
bool printSuccess = _printHelper.PrintLabel(
|
bool printSuccess = _printHelper.PrintLabel(
|
||||||
templatePath: printDto.Path,
|
templatePath: printDto.Path,
|
||||||
|
|||||||
Reference in New Issue
Block a user