using GalaSoft.MvvmLight; using Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Audit.ViewModel { /// /// StuffViewModel /// public class StuffViewModel : ViewModelBase { private List products = new List(); /// /// 所有工单 /// public List Product { get { return products; } set { products = value; RaisePropertyChanged(); } } /// /// /// public StuffViewModel() { products = new ProductProvider().Select(); } } }