diff options
| author | Jacob Palecki <[email protected]> | 2020-08-12 20:39:53 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-08-12 20:39:53 -0700 |
| commit | 30e1391b224ae028f4476e06a07415a0285ac6c9 (patch) | |
| tree | a70694de4ca5e8e9f947ce6a1355c7a134d491b8 /grapher/Models/Calculations/AccelData.cs | |
| parent | Factor accel calculations into calculation classes (diff) | |
| download | rawaccel-30e1391b224ae028f4476e06a07415a0285ac6c9.tar.xz rawaccel-30e1391b224ae028f4476e06a07415a0285ac6c9.zip | |
Almost working
Diffstat (limited to 'grapher/Models/Calculations/AccelData.cs')
| -rw-r--r-- | grapher/Models/Calculations/AccelData.cs | 19 |
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(); } - } } |