Merge branch 'master' of http://www.scserverddns.top:13000/sc/formula_manage
This commit is contained in:
commit
2679b72009
2 files changed
+9
-17
No files matched your search
@@ -11,32 +11,24 @@ using System.Windows.Threading;
|
|||||||
namespace formula_manage.ViewModel
|
namespace formula_manage.ViewModel
|
||||||
{
|
{
|
||||||
///<Summary>
|
///<Summary>
|
||||||
/// StuffViewModel
|
/// RRODUCTiewModel
|
||||||
///</Summary>
|
///</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>
|
||||||
/// 所有原料
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<Product> Product
|
/* public List<RRODUCT> RRODUCT
|
||||||
{
|
{
|
||||||
get
|
|
||||||
{
|
}*/
|
||||||
return products;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
products = value;
|
|
||||||
RaisePropertyChanged();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// StuffViewModeldl
|
/// StuffViewModeldl
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public StuffViewModel()
|
public RRODUCTiewModel()
|
||||||
{
|
{
|
||||||
//products = new ProductProvider().Select();
|
//products = new ProductProvider().Select();
|
||||||
DispatcherTimer timer = new DispatcherTimer//初始化循环,每0.5秒调用一次Tick_Event
|
DispatcherTimer timer = new DispatcherTimer//初始化循环,每0.5秒调用一次Tick_Event
|
||||||
@@ -178,7 +178,7 @@
|
|||||||
<Compile Include="SQLModels\STUFF_Product.cs" />
|
<Compile Include="SQLModels\STUFF_Product.cs" />
|
||||||
<Compile Include="UserClass\IniFile.cs" />
|
<Compile Include="UserClass\IniFile.cs" />
|
||||||
<Compile Include="UserClass\PressKey.cs" />
|
<Compile Include="UserClass\PressKey.cs" />
|
||||||
<Compile Include="ViewModel\StuffViewModel.cs" />
|
<Compile Include="ViewModel\RRODUCTViewModel.cs" />
|
||||||
<Compile Include="View\Formula.xaml.cs">
|
<Compile Include="View\Formula.xaml.cs">
|
||||||
<DependentUpon>Formula.xaml</DependentUpon>
|
<DependentUpon>Formula.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|||||||
Reference in new issue
Block a user