Merge branch 'master' of http://scddns.f3322.net:13000/sc/Audit_APP
This commit is contained in:
commit
3323285542
6 files changed
+52
-9
No files matched your search
@@ -1,5 +1,8 @@
|
||||
using System;
|
||||
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;
|
||||
@@ -9,7 +12,30 @@ namespace Audit.ViewModel
|
||||
///<Summary>
|
||||
/// QueryViewModel
|
||||
///</Summary>
|
||||
public class QueryViewModel
|
||||
public class QueryViewModel: ViewModelBase
|
||||
{
|
||||
private List<Dyelots> dyelots = new List<Dyelots>();
|
||||
/// <summary>
|
||||
/// 所有工单
|
||||
/// </summary>
|
||||
public List<Dyelots> Dyelots
|
||||
{
|
||||
get
|
||||
{
|
||||
return dyelots;
|
||||
}
|
||||
set
|
||||
{
|
||||
dyelots = value;
|
||||
RaisePropertyChanged();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public QueryViewModel()
|
||||
{
|
||||
dyelots = new DyelotsProvider().Select();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user