summaryrefslogtreecommitdiff
path: root/grapher/Models/Calculations/AccelData.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-08-12 20:39:53 -0700
committerJacob Palecki <[email protected]>2020-08-12 20:39:53 -0700
commit30e1391b224ae028f4476e06a07415a0285ac6c9 (patch)
treea70694de4ca5e8e9f947ce6a1355c7a134d491b8 /grapher/Models/Calculations/AccelData.cs
parentFactor accel calculations into calculation classes (diff)
downloadrawaccel-30e1391b224ae028f4476e06a07415a0285ac6c9.tar.xz
rawaccel-30e1391b224ae028f4476e06a07415a0285ac6c9.zip
Almost working
Diffstat (limited to 'grapher/Models/Calculations/AccelData.cs')
-rw-r--r--grapher/Models/Calculations/AccelData.cs19
1 files changed, 9 insertions, 10 deletions
diff --git a/grapher/Models/Calculations/AccelData.cs b/grapher/Models/Calculations/AccelData.cs
index d304660..a2a6a3a 100644
--- a/grapher/Models/Calculations/AccelData.cs
+++ b/grapher/Models/Calculations/AccelData.cs
@@ -10,23 +10,22 @@ namespace grapher.Models.Calculations
{
public AccelData()
{
- OrderedAccelPoints = new SortedDictionary<double, double>();
- OrderedVelocityPoints = new SortedDictionary<double, double>();
- OrderedGainPoints = new SortedDictionary<double, double>();
+ Combined = new AccelChartData();
+ X = new AccelChartData();
+ Y = new AccelChartData();
}
- public SortedDictionary<double, double> OrderedAccelPoints { get; }
+ public AccelChartData Combined { get; }
- public SortedDictionary<double, double> OrderedVelocityPoints { get; }
+ public AccelChartData X { get; }
- public SortedDictionary<double, double> OrderedGainPoints { get; }
+ public AccelChartData Y { get; }
public void Clear()
{
- OrderedAccelPoints.Clear();
- OrderedVelocityPoints.Clear();
- OrderedGainPoints.Clear();
+ Combined.Clear();
+ X.Clear();
+ Y.Clear();
}
-
}
}