internal DeserializedRawData(int deltaOfStartTimeInMinutes, int deltaOfSeriesResolutionInMinutes, List <List <double?> > values, TimeSeriesErrorCode errorCode) { this.DeltaOfStartTimeInMinutes = deltaOfStartTimeInMinutes; this.DeltaOfSeriesResolutionInMinutes = deltaOfSeriesResolutionInMinutes; this.Values = values; this.ErrorCode = errorCode; }
/// <summary> /// Initializes a new instance of the <see cref="TimeSeries{ID, TValue}" /> class. /// </summary> /// <param name="startTimeUtc">The start time in UTC.</param> /// <param name="endTimeUtc">The end time in UTC.</param> /// <param name="seriesResolutionInMinutes">The series resolution in minutes.</param> /// <param name="definition">The time series definition.</param> /// <param name="values">The time series values.</param> /// <param name="errorCode">The error code.</param> internal TimeSeries(DateTime startTimeUtc, DateTime endTimeUtc, int seriesResolutionInMinutes, TimeSeriesDefinition <TId> definition, List <List <TValue> > values, TimeSeriesErrorCode errorCode) { this.Definition = definition; this.StartTimeUtc = startTimeUtc; this.EndTimeUtc = endTimeUtc; this.SeriesResolutionInMinutes = seriesResolutionInMinutes; this.Values = values; this.ErrorCode = errorCode; }