Browse Source

配方控制类修改

master
pry 2 years ago
parent
commit
a7ba0e1e1e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      DosingSystem/ViewModel/RecipeControlViewModel.cs

+ 3
- 3
DosingSystem/ViewModel/RecipeControlViewModel.cs View File

@@ -19,8 +19,8 @@ namespace BPASmartClient.DosingSystem.ViewModel
{
public class RecipeControlViewModel : NotifyBase
{
public static ConcurrentQueue<string> RecipeNames = new ConcurrentQueue<string>();
public static ObservableCollection<StockStatusModel> StockStatus = new ObservableCollection<StockStatusModel>();
static ConcurrentQueue<string> RecipeNames = new ConcurrentQueue<string>();
static ObservableCollection<StockStatusModel> StockStatus = new ObservableCollection<StockStatusModel>();
public RecipeControlViewModel()
{
StartCommand = new RelayCommand<object>(RecipeIssued);
@@ -239,7 +239,7 @@ namespace BPASmartClient.DosingSystem.ViewModel
Json<LocaPar>.Data.Recipes.ElementAt(recipIndex).IsEnable = true;
Recipes.ElementAt(recipIndex).Are.Set();
}
}
}
}


Loading…
Cancel
Save