|
|
@ -54,18 +54,12 @@ namespace BBWY.Client.ViewModels.PackTask |
|
|
|
public ICommand SearchConsumableCommand { get; set; } |
|
|
|
private readonly ConsumableService consumableService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// public Action ReflashDatas { get; set; }
|
|
|
|
|
|
|
|
public ConsumableViewModel(ConsumableService consumableService) |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
this.consumableService = consumableService; |
|
|
|
ConsumableModel = new ConsumableModel(consumableService); |
|
|
|
// ConsumableModel.ReflashDatas = ReflashDatas;
|
|
|
|
ConsumableList = new ObservableCollection<ConsumableModel>(); |
|
|
|
AddConsumableCommand = new RelayCommand(AddConsumable); |
|
|
|
SearchConsumableCommand = new RelayCommand(SearchConsumable); |
|
|
|