Chronos Plugins 5.11.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
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]
 Name to show in the navigation bar.
ImageSource NavBarIcon [get]
 Provide some image for the user that can be displayed in the navigation bar.

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 NavBarIcon.

Property Documentation

◆ DisplayName

string MockPlugin.Consumables.CoffeeConsumableManagerUI.DisplayName
get

Name to show in the navigation bar.

Implements AxelSemrau.Chronos.Plugin.Consumables.IHaveNavBarInformation.

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.

Implements AxelSemrau.Chronos.Plugin.Consumables.IConsumableManagerToolbox< in TManager >.

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

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

◆ NavBarIcon

ImageSource MockPlugin.Consumables.CoffeeConsumableManagerUI.NavBarIcon
get

Provide some image for the user that can be displayed in the navigation bar.

Currently, Chronos is using 32x32 pixels.

Implements AxelSemrau.Chronos.Plugin.Consumables.IHaveNavBarInformation.

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

25{ get; }

Referenced by CoffeeConsumableManagerUI().


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