提交代码
This commit is contained in:
@ -9,6 +9,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using WCS.Model;
|
||||
using WCS.Model.ApiModel.Home;
|
||||
using 货架标准上位机.Api;
|
||||
@ -46,6 +47,20 @@ namespace 货架标准上位机.ViewModel
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
public ICommand BarcodePrintTemplateCommand { get => new DelegateCommand(BarcodePrintTemplate); }
|
||||
public void BarcodePrintTemplate()
|
||||
{
|
||||
try
|
||||
{
|
||||
Folder.OpenFolderAndSelectedFile(LocalFile.PrintTemplatePath);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
Growl.Error("打开文件夹失败。");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class DeviceReadModel : BindableBase
|
||||
|
Reference in New Issue
Block a user