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.

45 lines
997 B

using GalaSoft.MvvmLight;
using Models;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Services.Description;
using System.Windows.Controls;
using System.Windows.Data;
namespace Audit.ViewModel
{
///<Summary>
/// StuffViewModel
///</Summary>
public class StuffViewModel : ViewModelBase
{
private List<Product> products = new List<Product>();
/// <summary>
/// 所有工单
/// </summary>
public List<Product> Product
{
get
{
return products;
}
set
{
products = value;
RaisePropertyChanged();
}
}
/// <summary>
/// StuffViewModel
/// </summary>
public StuffViewModel()
{
products = new ProductProvider().Select();
}
}
}