mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-12-15 12:24:57 +01:00
Reorganize all observatory core projects into monorepo (#25)
* chore: move all observatory repos to core * only save journal folder on change, don't constantly re-check during monitoring * chore: monorepo project changes * chore: monorepo migration
This commit is contained in:
35
ObservatoryFramework/PluginUI.cs
Normal file
35
ObservatoryFramework/PluginUI.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Observatory.Framework
|
||||
{
|
||||
public class PluginUI
|
||||
{
|
||||
public readonly UIType PluginUIType;
|
||||
public object UI;
|
||||
public ObservableCollection<object> DataGrid;
|
||||
|
||||
public PluginUI(ObservableCollection<object> DataGrid)
|
||||
{
|
||||
PluginUIType = UIType.Basic;
|
||||
this.DataGrid = DataGrid;
|
||||
}
|
||||
|
||||
public PluginUI(UIType uiType, object UI)
|
||||
{
|
||||
PluginUIType = uiType;
|
||||
this.UI = UI;
|
||||
}
|
||||
|
||||
public enum UIType
|
||||
{
|
||||
None = 0,
|
||||
Basic = 1,
|
||||
Avalonia = 2,
|
||||
Core = 3
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user