diff --git a/RIZO_Application/Modules/RIZO_Application.Modules.ModuleName/ViewModels/PrintControlViewModel.cs b/RIZO_Application/Modules/RIZO_Application.Modules.ModuleName/ViewModels/PrintControlViewModel.cs index 5d72459..826adce 100644 --- a/RIZO_Application/Modules/RIZO_Application.Modules.ModuleName/ViewModels/PrintControlViewModel.cs +++ b/RIZO_Application/Modules/RIZO_Application.Modules.ModuleName/ViewModels/PrintControlViewModel.cs @@ -74,7 +74,7 @@ namespace RIZO_Application.Modules.ModuleName.ViewModels { _eventAggregator.GetEvent().Publish($"收到打印请求: {printDto.Name}"); - // 准备打印参数 + // 1.准备全部打印参数表 var printParameters = new Dictionary { { "10", printDto.PartNumber }, @@ -89,6 +89,16 @@ namespace RIZO_Application.Modules.ModuleName.ViewModels { "10011", printDto.LabelType.ToString() } }; + //2.TODO 根据地址抓取需要的Key字段 + + + //3.TODO 根据全部打印参数表,剔除不要的字段 + + + //4.TODO 进行打印 + + + // 执行打印 bool printSuccess = _printHelper.PrintLabel( templatePath: printDto.Path,