Minor update

This commit is contained in:
Miha Kralj
2023-10-14 17:54:45 -07:00
parent 97f0c78a70
commit 1faf47e85f
5 changed files with 146 additions and 221 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ public class TSeriesEventArgs : EventArgs {
public class TSeries : List<(DateTime t, double v)> {
public List<DateTime> t => this.Select(item => item.t).ToList();
public List<double> v => this.Select(item => item.v).ToList();
public (DateTime t, double v) Last => this[this.Count - 1];
public (DateTime t, double v) Last => this[^1];
public int Length => Count;
public string Name { get; set; }