Chronos Plugins 5.11.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
StatusViewInterfaces.cs
Go to the documentation of this file.
1using System.Runtime.InteropServices;
2using System.Windows;
3
5{
15 [Guid("A6619694-305D-4951-A0F7-CF4F44AF5E5F")]
16 public interface IStatusView<TDevice> where TDevice : class, IDevice
17 {
21 TDevice Device
22 {
23 get;
24 set;
25 }
26 }
27
34 [Guid("D69303D4-3B7D-4A29-B2F4-9B904285FAE7")]
35 public interface ILargeStatusView<TDevice> : IStatusView<TDevice> where TDevice : class, IDevice
36 {
40 object Title { get; }
41
45 Visibility Visible { get; }
46 }
47}
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
To be implemented by the "device driver" part of a Chronos plugin.
TDevice Device
Gives access to the device. Will be set after the class has been instantiated.
Visibility Visible
Visibility of the tab page.
object Title
Title for the tab page. Can be anything that is ok for a WPF header.