示例#1
0
        public void Add(ModWheelControl modWheelControllerCCSetting)
        {
            Debug.Assert(_modWheelOption == CControllerType.undefined && _modWheelVolumeOption == false,
                "Illegal attempt to set the ModWheelOption twice.");

            _modWheelOption = modWheelControllerCCSetting.ControllerType;
        }
示例#2
0
        public void Add(PressureControl pressureControl)
        {
            Debug.Assert(_pressureOption == CControllerType.undefined && _pressureVolumeOption == false,
                "Illegal attempt to set the PressureOption twice.");

            _pressureOption = pressureControl.ControllerType;
        }
示例#3
0
 public ModWheelControl(CControllerType controllerType)
     : base(controllerType)
 {
 }
示例#4
0
 public PressureControl(CControllerType controllerType)
     : base(controllerType)
 {
 }
示例#5
0
 protected ControllerCCSetting(CControllerType controllerType)
 {
     _controllerType = controllerType;
 }