mqtt修改
This commit is contained in:
@@ -5,11 +5,9 @@ using Prism.Events;
|
||||
using Prism.Regions;
|
||||
using RIZO_Application.Core;
|
||||
using RIZO_Application.Core.Mvvm;
|
||||
using RIZO_Helper.Tools;
|
||||
using RIZO_Application.Infrastructure.Model;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Microsoft.Extensions.Primitives;
|
||||
|
||||
namespace RIZO_Application.Modules.ModuleName.ViewModels
|
||||
{
|
||||
@@ -19,7 +17,6 @@ namespace RIZO_Application.Modules.ModuleName.ViewModels
|
||||
private readonly BartenderPrintHelper _printHelper;
|
||||
private SubscriptionToken _printEventToken;
|
||||
private bool _isDisposed;
|
||||
|
||||
public PrintControlViewModel(
|
||||
IRegionManager regionManager,
|
||||
IEventAggregator eventAggregator,
|
||||
@@ -120,6 +117,10 @@ namespace RIZO_Application.Modules.ModuleName.ViewModels
|
||||
subStringValues: Intersect,
|
||||
copies: 1);
|
||||
|
||||
//bool printSuccess = barTenderPrinter.PrintLabel(templatePath: printDto.Path,
|
||||
// subStringValues: Intersect,
|
||||
// copies: 1);
|
||||
|
||||
if (printSuccess)
|
||||
{
|
||||
_eventAggregator.GetEvent<SystemLogEvent>().Publish($"打印成功: {printDto.Name}");
|
||||
|
||||
Reference in New Issue
Block a user