Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
MockPlugin.Device.CoffeeMakerParamsUI Class Reference

Simple user interfrace for the fake coffee maker's parameters. More...

+ Inheritance diagram for MockPlugin.Device.CoffeeMakerParamsUI:
+ Collaboration diagram for MockPlugin.Device.CoffeeMakerParamsUI:

Public Member Functions

 CoffeeMakerParamsUI ()
 

Properties

CoffeMakerParams Parameters [get, set]
 

Private Attributes

readonly EditMachineParams mParamsEditor
 We are using a seperate WPF part here for actually editing the parameters so that we can reuse it if, in the hopefully not-too-far future, Chronos supports data templates for this kind of task instead of UI Type Editors.
 

Detailed Description

Simple user interfrace for the fake coffee maker's parameters.

Definition at line 8 of file CoffeeMakerParamsUI.cs.

Constructor & Destructor Documentation

◆ CoffeeMakerParamsUI()

MockPlugin.Device.CoffeeMakerParamsUI.CoffeeMakerParamsUI ( )

Definition at line 15 of file CoffeeMakerParamsUI.cs.

16 {
17 InitializeComponent();
18 mParamsEditor = new EditMachineParams();
19 mEditorElementHost.Child = mParamsEditor;
20 }
readonly EditMachineParams mParamsEditor
We are using a seperate WPF part here for actually editing the parameters so that we can reuse it if,...

References MockPlugin.Device.CoffeeMakerParamsUI.mParamsEditor.

Member Data Documentation

◆ mParamsEditor

readonly EditMachineParams MockPlugin.Device.CoffeeMakerParamsUI.mParamsEditor
private

We are using a seperate WPF part here for actually editing the parameters so that we can reuse it if, in the hopefully not-too-far future, Chronos supports data templates for this kind of task instead of UI Type Editors.

Definition at line 14 of file CoffeeMakerParamsUI.cs.

Referenced by MockPlugin.Device.CoffeeMakerParamsUI.CoffeeMakerParamsUI().

Property Documentation

◆ Parameters

CoffeMakerParams MockPlugin.Device.CoffeeMakerParamsUI.Parameters
getset

Definition at line 22 of file CoffeeMakerParamsUI.cs.

23 {
24 get => mParamsEditor.DataContext as CoffeMakerParams;
25 set => mParamsEditor.DataContext = value;
26 }

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