public void AppendValues(double L, double a, double b, double C, double H, double T) { DateTimeAxis axis = new DateTimeAxis(); double time = axis.ConvertToDouble(DateTime.Now); Point p1 = new Point(time, L); Point p2 = new Point(time, a); Point p3 = new Point(time, b); Point p4 = new Point(time, C); Point p5 = new Point(time, H); Point p6 = new Point(time, T); SourceL.AppendAsync(App.Current.Dispatcher, p1); SourceA.AppendAsync(App.Current.Dispatcher, p2); SourceB.AppendAsync(App.Current.Dispatcher, p3); SourceC.AppendAsync(App.Current.Dispatcher, p4); SourceH.AppendAsync(App.Current.Dispatcher, p5); SourceT.AppendAsync(App.Current.Dispatcher, p6); Thread.Sleep(10); }
public void AddItemToSourceB() { SourceB.Add(new Person("Muster" + SourceB.Count, "M" + SourceB.Count)); }