Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
LargeDeviceStatusView.xaml.cs
Go to the documentation of this file.
1using System.Windows;
2using System.Windows.Controls;
5
7{
11 // ReSharper disable once UnusedMember.Global
12 public partial class LargeDeviceStatusView : UserControl, ILargeStatusView<MockDevice>
13 {
15 {
16 InitializeComponent();
17 DataContext = new FakeStatusViewModel();
18 }
19
20 public MockDevice Device { get; set; }
21
22 public object Title => $"Large status view for device {(Device?.Name ?? "N/A")}";
23
24 public Visibility Visible { get; }
25 }
26
28 {
29 // ReSharper disable once UnusedMember.Global
30 public string FakeStatus { get; set; } = "Just some fake status";
31 }
32}
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
A fake device. This namespace contains the fake device driver and auxiliary classes for settings,...
Contains things that do not fit into the other categories.
Like IStatusView<TDevice>, but for status displays that need more room.
A chronos plugin implementation for a fake device. We pretend we are controlling a mixture of coffee ...
Definition MockDevice.cs:53
Interaction logic for LargeDeviceStatusView.xaml.