diff --git a/ViewModel/StuffViewModel.cs b/ViewModel/RRODUCTViewModel.cs similarity index 77% rename from ViewModel/StuffViewModel.cs rename to ViewModel/RRODUCTViewModel.cs index 800cb7c..67884db 100644 --- a/ViewModel/StuffViewModel.cs +++ b/ViewModel/RRODUCTViewModel.cs @@ -11,32 +11,24 @@ using System.Windows.Threading; namespace formula_manage.ViewModel { /// - /// StuffViewModel + /// RRODUCTiewModel /// - public class StuffViewModel : ViewModelBase + public class RRODUCTiewModel : ViewModelBase { - private List products = new List(); + // private List products = new List(); /// - /// 所有原料 + /// /// - public List Product + /* public List RRODUCT { - get - { - return products; - } - set - { - products = value; - RaisePropertyChanged(); - } - } + + }*/ /// /// StuffViewModeldl /// - public StuffViewModel() + public RRODUCTiewModel() { //products = new ProductProvider().Select(); DispatcherTimer timer = new DispatcherTimer//初始化循环,每0.5秒调用一次Tick_Event diff --git a/formula_manage.csproj b/formula_manage.csproj index 2285f2c..f1a372d 100644 --- a/formula_manage.csproj +++ b/formula_manage.csproj @@ -178,7 +178,7 @@ - + Formula.xaml