Added Json Schemas
This commit is contained in:
@@ -3,18 +3,23 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace BaseCellSimulation
|
||||
{
|
||||
public struct ValueRange
|
||||
{
|
||||
public double Start;
|
||||
public double End;
|
||||
[JsonPropertyName("Value")]
|
||||
public double Value;
|
||||
[JsonPropertyName("Min")]
|
||||
public double Min;
|
||||
[JsonPropertyName("Max")]
|
||||
public double Max;
|
||||
|
||||
public ValueRange(double start, double end)
|
||||
{
|
||||
Start = start;
|
||||
End = end;
|
||||
Min = start;
|
||||
Max = end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user