You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AUCMA_SCADA/Aucma.Core.PrintTo/Views/PrintToDevView.xaml.cs

29 lines
964 B
C#

using Aucma.Core.PrintTo.ViewModels;
using System.Windows;
namespace Aucma.Core.PrintTo.Views
{
/// <summary>
/// PrintToDevView.xaml 的交互逻辑
/// </summary>
public partial class PrintToDevView : Window
{
#region 构造函数
/// <summary>
/// 构造函数
/// </summary>
/// <param name="productCode">产品编码</param>
/// <param name="materialCode">物料编码</param>
/// <param name="materialName">产品名称</param>
/// <param name="printAmount">打印数量</param>
/// <param name="barCode"></param>
public PrintToDevView(string order_code,string productCode, string productName, int printAmount,string printName,int printType)
{
InitializeComponent();
this.DataContext = new PrintToDevViewModel(order_code,productCode, productName, printAmount, printName, printType);
}
#endregion
}
}