Example #1
0
        public void SetRotationRate(uint countPerMinute)    //不改变方向,只改变转速,界面
        {
            SetAntennaSweepState(_intentionalDirection, countPerMinute);
            if (!_isSectionSweeping)
            {
                return;                             //不是扇扫状态
            }
            var angleAreaSurveillance = TargetManagerFactory.CreateAngleAreaSurveillance();

            angleAreaSurveillance.UnregisterAngleArea(this, _modifiedSection);
            _modifiedSection = CalAntiInertiaSection(_sweepSection);
            angleAreaSurveillance.RegisterAngleArea(this, _modifiedSection);
        }
Example #2
0
        public void SetSectionSweepMode(AngleArea area) //扇扫模式
        {
            if (_isSectionSweeping)
            {
                StopSectionSweep();     //先停止扇扫
            }
            _isSectionSweeping = true;
            _sweepSection      = area;
            var angleAreaSurveillance = TargetManagerFactory.CreateAngleAreaSurveillance();

            _modifiedSection = CalAntiInertiaSection(_sweepSection);
            angleAreaSurveillance.RegisterAngleArea(this, _modifiedSection);
            NotifySweepModeChange();
        }
Example #3
0
 protected void StopSectionSweep()
 {
     _sweepSection      = null;
     _isSectionSweeping = false;
     TargetManagerFactory.CreateAngleAreaSurveillance().UnregisterAngleArea(this, _modifiedSection);
 }