mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
* 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
36 lines
766 B
C#
36 lines
766 B
C#
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
|
|
}
|
|
}
|
|
}
|