Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Viel model for coffee machine related consumables. More...
Public Member Functions | |
CoffeeConsumableViewModel () | |
For the XAML Designer. | |
CoffeeConsumableViewModel (CoffeeConsumableManager value) | |
Properties | |
ObservableCollection< IngredientsForDevice > | Ingredients = new ObservableCollection<IngredientsForDevice>() [get] |
Private Member Functions | |
void | RebuildLists (object sender, NotifyCollectionChangedEventArgs e) |
Private Attributes | |
readonly CoffeeConsumableManager | mManager |
Viel model for coffee machine related consumables.
This is a bit more complicated than strictly necessary. The idea is to show that you don't have to follow the predefined model of consumables pools/puddles strictly. In this case the consumabels get re-arranged and ordered by device by the view model.
Definition at line 14 of file CoffeeConsumableViewModel.cs.
MockPlugin.Consumables.CoffeeConsumableViewModel.CoffeeConsumableViewModel | ( | ) |
For the XAML Designer.
Definition at line 22 of file CoffeeConsumableViewModel.cs.
MockPlugin.Consumables.CoffeeConsumableViewModel.CoffeeConsumableViewModel | ( | CoffeeConsumableManager | value | ) |
Definition at line 27 of file CoffeeConsumableViewModel.cs.
References MockPlugin.Consumables.CoffeeConsumableViewModel.mManager, and MockPlugin.Consumables.CoffeeConsumableViewModel.RebuildLists().
|
private |
Definition at line 37 of file CoffeeConsumableViewModel.cs.
References MockPlugin.Consumables.CoffeeConsumableViewModel.Ingredients, MockPlugin.Consumables.CoffeeConsumableViewModel.mManager, and MockPlugin.Consumables.CoffeeConsumableManager.Pools.
Referenced by MockPlugin.Consumables.CoffeeConsumableViewModel.CoffeeConsumableViewModel().
|
private |
Definition at line 16 of file CoffeeConsumableViewModel.cs.
Referenced by MockPlugin.Consumables.CoffeeConsumableViewModel.CoffeeConsumableViewModel(), and MockPlugin.Consumables.CoffeeConsumableViewModel.RebuildLists().
|
get |
Definition at line 52 of file CoffeeConsumableViewModel.cs.
Referenced by MockPlugin.Consumables.CoffeeConsumableViewModel.RebuildLists().