public override void DataReceived_DoublePoint(double xValue, double yValue) { System.Diagnostics.Debug.WriteLine("DoublePoint:" + xValue + "," + yValue); if (_twoDimData == null) { _twoDimData = new TwoDimData(); } _twoDimData.xvalueList.Add(xValue); _twoDimData.yvalueList.Add(yValue); }
public override void DataReceived_DoublePoint_Arrays(double[] xValues, double[] yValues) { if (_threeDimData == null) { _threeDimData = new List <TwoDimData>(); } TwoDimData twoDimData = new TwoDimData(); twoDimData.xvalueList.AddRange(xValues); twoDimData.yvalueList.AddRange(yValues); _threeDimData.Add(twoDimData); }