Ejemplo n.º 1
0
 private void Update(ConsecutiveObservation consecutiveObservation, SimpleObservation simpleObservation)
 {
     consecutiveObservation.HitCount += simpleObservation.HitCount;
     consecutiveObservation.HitTime  += simpleObservation.HitTime;
     consecutiveObservation.EndTime   = simpleObservation.EndTime;
     consecutiveObservation.ObservationDetailSeries.Add(simpleObservation);
 }
Ejemplo n.º 2
0
        private void Add(SimpleObservation simpleObservation)
        {
            ConsecutiveObservation observationResult = new ConsecutiveObservation();

            observationResult.Frequency = simpleObservation.Frequency;
            observationResult.Stage     = simpleObservation.Stage;
            observationResult.StartTime = simpleObservation.StartTime;
            observationResult.EndTime   = simpleObservation.EndTime;
            observationResult.HitCount  = simpleObservation.HitCount;
            observationResult.HitTime   = simpleObservation.HitTime;
            observationResult.ObservationDetailSeries.Add(simpleObservation);
            consecutiveObservations_.Add(observationResult);
        }