Ejemplo n.º 1
0
        /// <summary>
        /// Initialize the values
        /// </summary>
        public AverageManager(AverageManagerOptions options)
        {
            // Set the options
            _options = options;

            // Set the timer
            SetTimer();

            // Initialize values
            _refLayerAverager      = new ReferenceLayerAverage(_options.NumSamples, _options.MinRefLayer, _options.MaxRefLayer, _options.IsAvgRunning);
            _correlationAverager   = new AverageCorrelation();
            _amplitudeAverager     = new AverageAmplitude();
            _beamVelAverager       = new AverageBeamVelocity();
            _instrumentVelAverager = new AverageInstrumentVelocity();
            _earthVelAverager      = new AverageEarthVelocity();
            _bottomTrackAverager   = new AverageBottomTrack();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initialize the values
        /// </summary>
        public AverageManager(AverageManagerOptions options)
        {
            // Set the options
            _options = options;

            // Set the timer
            SetTimer();

            // Initialize values
            _refLayerAverager = new ReferenceLayerAverage(_options.NumSamples, _options.MinRefLayer, _options.MaxRefLayer, _options.IsAvgRunning);
            _correlationAverager = new AverageCorrelation();
            _amplitudeAverager = new AverageAmplitude();
            _beamVelAverager = new AverageBeamVelocity();
            _instrumentVelAverager = new AverageInstrumentVelocity();
            _earthVelAverager = new AverageEarthVelocity();
            _bottomTrackAverager = new AverageBottomTrack();
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Initialize the values
        /// </summary>
        public AverageManager(AverageManagerOptions options)
        {
            // Set the options
            _options = options;

            _avgTimer = new Timer(_options.TimerMilliseconds);
            _avgTimer.Elapsed += new ElapsedEventHandler(_avgTimer_Elapsed);

            // Initialize values
            _refLayerAverager = new ReferenceLayerAverage(_options.NumSamples, _options.MinRefLayer, _options.MaxRefLayer, _options.IsRunningAverage);
            _correlationAverager = new AverageCorrelation();
            _amplitudeAverager = new AverageAmplitude();
            _beamVelAverager = new AverageBeamVelocity();
            _instrumentVelAverager = new AverageInstrumentVelocity();
            _earthVelAverager = new AverageEarthVelocity();
            _bottomTrackAverager = new AverageBottomTrack();
        }