Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
MockPlugin.Consumables.CoffeeConsumableManagerUI Class Reference

Toolbox for all coffee machine related consumables. Currently just a display of the consumable levels. More...

+ Inheritance diagram for MockPlugin.Consumables.CoffeeConsumableManagerUI:
+ Collaboration diagram for MockPlugin.Consumables.CoffeeConsumableManagerUI:

Public Member Functions

 CoffeeConsumableManagerUI ()
 

Properties

CoffeeConsumableManager Manager [set]
 We don't want a 1:1 display of the pools and puddles, but a re-arranged model grouped by related device.
 
string DisplayName [get]
 
ImageSource NavBarIcon [get]
 
- Properties inherited from AxelSemrau.Chronos.Plugin.Consumables.IConsumableManagerToolbox< CoffeeConsumableManager >
TManager Manager [set]
 You will get the manager via this property after your control has been created.
 

Detailed Description

Toolbox for all coffee machine related consumables. Currently just a display of the consumable levels.

Definition at line 10 of file CoffeeConsumableManagerUI.xaml.cs.

Constructor & Destructor Documentation

◆ CoffeeConsumableManagerUI()

MockPlugin.Consumables.CoffeeConsumableManagerUI.CoffeeConsumableManagerUI ( )

Definition at line 12 of file CoffeeConsumableManagerUI.xaml.cs.

13 {
14 InitializeComponent();
15 NavBarIcon = (ImageSource)Resources["CoffeeMachineBitmapImage"];
16 }

References MockPlugin.Consumables.CoffeeConsumableManagerUI.NavBarIcon.

Property Documentation

◆ DisplayName

string MockPlugin.Consumables.CoffeeConsumableManagerUI.DisplayName
get

Definition at line 24 of file CoffeeConsumableManagerUI.xaml.cs.

◆ Manager

CoffeeConsumableManager MockPlugin.Consumables.CoffeeConsumableManagerUI.Manager
set

We don't want a 1:1 display of the pools and puddles, but a re-arranged model grouped by related device.

Definition at line 21 of file CoffeeConsumableManagerUI.xaml.cs.

21 { set => DataContext = new CoffeeConsumableViewModel(value);
22 }

◆ NavBarIcon

ImageSource MockPlugin.Consumables.CoffeeConsumableManagerUI.NavBarIcon
get

The documentation for this class was generated from the following file: