예제 #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);
 }
예제 #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);
        }