Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
CoffeeConsumableManagerUI.xaml.cs
Go to the documentation of this file.
1using System.Windows.Controls;
2using System.Windows.Media;
4
6{
10 public partial class CoffeeConsumableManagerUI : UserControl, IConsumableManagerToolbox<CoffeeConsumableManager>
11 {
13 {
14 InitializeComponent();
15 NavBarIcon = (ImageSource)Resources["CoffeeMachineBitmapImage"];
16 }
17
21 public CoffeeConsumableManager Manager { set => DataContext = new CoffeeConsumableViewModel(value);
22 }
23
24 public string DisplayName => "Coffee Machine";
25 public ImageSource NavBarIcon { get; }
26 }
27}
Keeps track of all consumables that are associated to our mock coffee machine.
Toolbox for all coffee machine related consumables. Currently just a display of the consumable levels...
CoffeeConsumableManager Manager
We don't want a 1:1 display of the pools and puddles, but a re-arranged model grouped by related devi...
Viel model for coffee machine related consumables.