This commit is contained in:
sc committed 2023-11-17 19:51:30 +08:00
commit 2679b72009
2 files changed
+9 -17

No files matched your search

@@ -11,32 +11,24 @@ using System.Windows.Threading;
namespace formula_manage.ViewModel
{
///<Summary>
/// StuffViewModel
/// RRODUCTiewModel
///</Summary>
public class StuffViewModel : ViewModelBase
public class RRODUCTiewModel : ViewModelBase
{
private List<Product> products = new List<Product>();
// private List<RRODUCT> products = new List<RRODUCT>();
/// <summary>
/// 所有原料
///
/// </summary>
public List<Product> Product
/* public List<RRODUCT> RRODUCT
{
get
{
return products;
}
set
{
products = value;
RaisePropertyChanged();
}
}
}*/
/// <summary>
/// StuffViewModeldl
/// </summary>
public StuffViewModel()
public RRODUCTiewModel()
{
//products = new ProductProvider().Select();
DispatcherTimer timer = new DispatcherTimer//初始化循环,每0.5秒调用一次Tick_Event