summaryrefslogtreecommitdiff
path: root/grapher/Models/Calculations/AccelChartData.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/AccelChartData.cs
parentFactor accel calculations into calculation classes (diff)
downloadrawaccel-30e1391b224ae028f4476e06a07415a0285ac6c9.tar.xz
rawaccel-30e1391b224ae028f4476e06a07415a0285ac6c9.zip
Almost working
Diffstat (limited to 'grapher/Models/Calculations/AccelChartData.cs')
-rw-r--r--grapher/Models/Calculations/AccelChartData.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/grapher/Models/Calculations/AccelChartData.cs b/grapher/Models/Calculations/AccelChartData.cs
new file mode 100644
index 0000000..243827a
--- /dev/null
+++ b/grapher/Models/Calculations/AccelChartData.cs
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace grapher.Models.Calculations
+{
+ public class AccelChartData
+ {
+ public AccelChartData()
+ {
+ AccelPoints = new SortedDictionary<double, double>();
+ VelocityPoints = new SortedDictionary<double, double>();
+ GainPoints = new SortedDictionary<double, double>();
+ }
+
+ public SortedDictionary<double, double> AccelPoints { get; }
+
+ public SortedDictionary<double, double> VelocityPoints { get; }
+
+ public SortedDictionary<double, double> GainPoints { get; }
+
+ public void Clear()
+ {
+ AccelPoints.Clear();
+ VelocityPoints.Clear();
+ GainPoints.Clear();
+ }
+ }
+}