public static OneDayTsProfile CreateMidpointValues( IList<DateTime> time, IList<double> values, string oneDayProfileId, IDiagnostics diagnostics )