private double[] ConvertValuesToDoubleArray(PIValues piValues) { return(piValues.Select(val => Convert.ToDouble(val.Value)).ToArray()); }
private double[] ConvertTSToDoubleArray(PIValues piValues) { return(piValues.Select(val => GetUTCFormat(val.Timestamp)).ToArray()); }