예제 #1
0
 public ChronologyPathNavigator(VehicleParametersChronology chronology)
 {
     if (chronology == null)
     {
         throw new ArgumentException("chronology");
     }
     this.chronology = chronology;
 }
예제 #2
0
        public VehicleParametersChronology Create()
        {
            VehicleParametersChronology result = new VehicleParametersChronology();

            foreach (AnalyticStatisticsItem item in statistics.Items)
            {
                foreach (AnalyticStatisticsValue value in item.Values)
                {
                    result.AddValue(item.Type,
                                    value.SourceDataCaptureDateTime, value.Value);
                }
            }
            return(result);
        }