コード例 #1
0
ファイル: AverageManager.cs プロジェクト: 759991469/RTI
        /// <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();
        }
コード例 #2
0
ファイル: AverageManager.cs プロジェクト: rowetechinc/RTI
        /// <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();
        }
コード例 #3
0
ファイル: AverageManager.cs プロジェクト: Bobfrat/RTI
        /// <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();
        }