2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-06-30 16:23:41 -04: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:
Xjph
2021-10-21 19:31:32 -02:30
committed by GitHub
parent 456c80198a
commit 4c1031b8f9
371 changed files with 7565 additions and 5 deletions

View File

@ -0,0 +1,60 @@
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Observatory.Framework
{
public class SettingDisplayName : Attribute
{
private string name;
public SettingDisplayName(string name)
{
this.name = name;
}
public string DisplayName
{
get => name;
set => name = value;
}
}
public class SettingIgnore : Attribute
{ }
public class SettingNumericUseSlider : Attribute
{ }
public class SettingNumericBounds : Attribute
{
private double minimum;
private double maximum;
private double increment;
public SettingNumericBounds(double minimum, double maximum, double increment = 1.0)
{
this.minimum = minimum;
this.maximum = maximum;
this.increment = increment;
}
public double Minimum
{
get => minimum;
set => minimum = value;
}
public double Maximum
{
get => maximum;
set => maximum = value;
}
public double Increment
{
get => increment;
set => increment = value;
}
}
}