Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
CoffeeMakerParamsUI.cs
Go to the documentation of this file.
1using System.Windows.Forms;
2
3namespace MockPlugin.Device
4{
8 public partial class CoffeeMakerParamsUI : Form
9 {
16 {
17 InitializeComponent();
19 mEditorElementHost.Child = mParamsEditor;
20 }
21
23 {
24 get => mParamsEditor.DataContext as CoffeMakerParams;
25 set => mParamsEditor.DataContext = value;
26 }
27 }
28}
A fake device. This namespace contains the fake device driver and auxiliary classes for settings,...
Simple user interfrace for the fake coffee maker's parameters.
readonly EditMachineParams mParamsEditor
We are using a seperate WPF part here for actually editing the parameters so that we can reuse it if,...
We have a fancy coffee machine that can regulate the warmer temperature for the pot and has lamps for...
Interaction logic for EditMachineParams.xaml.