예제 #1
0
 public override sealed IExciter Activate()
 {
     //Default is Spot mode;
     operation_ = ExciterOperationMode.Spot;
     Spot.Activate();
     return(this);
 }
예제 #2
0
        private void Activate(ExciterOperationMode value)
        {
            operation_ = value;
            switch (operation_)
            {
            case ExciterOperationMode.Barrage:
                Barrage.Activate();
                break;

            case ExciterOperationMode.MultiSpot:
                MultiSpot.Activate();
                break;

            case ExciterOperationMode.Spot:
                Spot.Activate();
                break;

            case ExciterOperationMode.Sweep:
                Sweep.Activate();
                break;

            case ExciterOperationMode.Comb:
                Comb.Activate();
                break;
            }
        }