步步为盈
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.6 KiB

using BBWY.Client.APIServices;
using BBWY.Client.ViewModels;
using BBWY.Client.ViewModels.PackTask;
using BBWY.Controls;
using Org.BouncyCastle.Asn1.Ocsp;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace BBWY.Client.Views.PackTask
{
/// <summary>
/// ServiceWindow.xaml 的交互逻辑
/// </summary>
public partial class ServiceWindow : BWindow
{
public PackServiceViewModel model { get; set; }
public PackTaskService packTaskService;
public ConsumableService consumableService;
public WorkProcessService workProcessService;
public IncreateServiceService increateService;
public ServiceWindow(PackTaskService packTaskService, long taskId, int taskCount, ConsumableService consumableService, WorkProcessService workProcessService, IncreateServiceService increateService)
{
InitializeComponent();
this.consumableService = consumableService;
this.workProcessService = workProcessService;
this.packTaskService = packTaskService;
this.increateService = increateService;
model = new PackServiceViewModel(packTaskService, consumableService, workProcessService, increateService, taskId);
model.TaskId = taskId;
model.TaskCount = taskCount;
this.DataContext = model;
}
}
}