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.

56 lines
1.3 KiB

using GalaSoft.MvvmLight;
using Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Audit.ViewModel
{
///<Summary>
/// QueryViewModel
///</Summary>
public class QueryViewModel : ViewModelBase
{
private List<Dyelots> dyelots = new List<Dyelots>();
private List<DyelotsBulkedRecipe> dyelotsBulkedRecipe = new List<DyelotsBulkedRecipe>();
/// <summary>
/// 所有工单
/// </summary>
public List<Dyelots> Dyelots
{
get
{
return dyelots;
}
set
{
dyelots = value;
RaisePropertyChanged();
}
}
public List<DyelotsBulkedRecipe> DyelotsBulkedRecipe
{
get
{
return dyelotsBulkedRecipe;
}
set
{
dyelotsBulkedRecipe = value;
RaisePropertyChanged();
}
}
/// <summary>
///
/// </summary>
public QueryViewModel()
{
dyelots = new DyelotsProvider().Select();
dyelotsBulkedRecipe = new DyelotsBulkedRecipeProvider().Select();
}
}
}